23 lines
454 B
TypeScript
23 lines
454 B
TypeScript
|
|
/**
|
|
|
|
* An object allowing control over the logging used
|
|
*/
|
|
export class ICU4XLogger {
|
|
|
|
/**
|
|
|
|
* Initialize the logger using `simple_logger`
|
|
|
|
* Requires the `simple_logger` Cargo feature.
|
|
|
|
* Returns `false` if there was already a logger set.
|
|
*/
|
|
static init_simple_logger(): boolean;
|
|
|
|
/**
|
|
|
|
* Deprecated: since ICU4X 1.4, this now happens automatically if the `log` feature is enabled.
|
|
*/
|
|
static init_console_logger(): boolean;
|
|
}
|