Logger: {
    LogLevelEnum: {
        debug: number;
        error: number;
        info: number;
        log: number;
        none: number;
        warn: number;
    };
    create: ((level?: "none" | "log" | "error" | "warn" | "info" | "debug") => {
        debug(...args: unknown[]): number;
        error(...args: unknown[]): number;
        getLogLevel(): "none" | "log" | "error" | "warn" | "info" | "debug";
        info(...args: unknown[]): number;
        log(...args: unknown[]): number;
        setLogLevel(lv: "none" | "log" | "error" | "warn" | "info" | "debug"): void;
        setTitle(title: string): void;
        warn(...args: unknown[]): number;
    });
    debug(...args: unknown[]): number;
    error(...args: unknown[]): number;
    getLogLevel(): "none" | "log" | "error" | "warn" | "info" | "debug";
    info(...args: unknown[]): number;
    log(...args: unknown[]): number;
    setLogLevel(lv: "none" | "log" | "error" | "warn" | "info" | "debug"): void;
    setTitle(title: string): void;
    warn(...args: unknown[]): number;
} = ...

Type declaration

  • LogLevelEnum: {
        debug: number;
        error: number;
        info: number;
        log: number;
        none: number;
        warn: number;
    }
    • debug: number
    • error: number
    • info: number
    • log: number
    • none: number
    • warn: number
  • create: ((level?: "none" | "log" | "error" | "warn" | "info" | "debug") => {
        debug(...args: unknown[]): number;
        error(...args: unknown[]): number;
        getLogLevel(): "none" | "log" | "error" | "warn" | "info" | "debug";
        info(...args: unknown[]): number;
        log(...args: unknown[]): number;
        setLogLevel(lv: "none" | "log" | "error" | "warn" | "info" | "debug"): void;
        setTitle(title: string): void;
        warn(...args: unknown[]): number;
    })
      • (level?: "none" | "log" | "error" | "warn" | "info" | "debug"): {
            debug(...args: unknown[]): number;
            error(...args: unknown[]): number;
            getLogLevel(): "none" | "log" | "error" | "warn" | "info" | "debug";
            info(...args: unknown[]): number;
            log(...args: unknown[]): number;
            setLogLevel(lv: "none" | "log" | "error" | "warn" | "info" | "debug"): void;
            setTitle(title: string): void;
            warn(...args: unknown[]): number;
        }
      • Parameters

        • level: "none" | "log" | "error" | "warn" | "info" | "debug" = 'warn'

        Returns {
            debug(...args: unknown[]): number;
            error(...args: unknown[]): number;
            getLogLevel(): "none" | "log" | "error" | "warn" | "info" | "debug";
            info(...args: unknown[]): number;
            log(...args: unknown[]): number;
            setLogLevel(lv: "none" | "log" | "error" | "warn" | "info" | "debug"): void;
            setTitle(title: string): void;
            warn(...args: unknown[]): number;
        }

  • debug:function
  • error:function
  • getLogLevel:function
  • info:function
  • log:function
  • setLogLevel:function
  • setTitle:function
  • warn:function

Generated using TypeDoc