trisquel-icecat/icecat/intl/icu_capi/bindings/js/ICU4XLogger.d.ts
2025-10-06 02:35:48 -06:00

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;
}