summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/js/package/lib/ICU4XLogger.d.ts
blob: c44d9c4be2c1fd463deb0b10c32ca2e2842285da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**

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