Debian Codegraph @

intl/icu_capi/bindings/js/ICU4XLogger.d.ts

raw
1
2 /**
3
4 * An object allowing control over the logging used
5 */
6 export class ICU4XLogger {
7
8 /**
9
10 * Initialize the logger using `simple_logger`
11
12 * Requires the `simple_logger` Cargo feature.
13
14 * Returns `false` if there was already a logger set.
15 */
16 static init_simple_logger(): boolean;
17
18 /**
19
20 * Deprecated: since ICU4X 1.4, this now happens automatically if the `log` feature is enabled.
21 */
22 static init_console_logger(): boolean;
23 }