Logger: {
    LogLevelEnum: {
        debug: number;
        error: number;
        info: number;
        log: number;
        none: number;
        warn: number;
    };
    create: ((level?) => {
        debug(...args) => number;
        error(...args) => number;
        getLogLevel() => "none" | "log" | "error" | "warn" | "info" | "debug";
        info(...args) => number;
        log(...args) => number;
        setLogLevel(lv) => void;
        setTitle(title) => void;
        warn(...args) => number;
    });
    debug(...args) => number;
    error(...args) => number;
    getLogLevel() => "none" | "log" | "error" | "warn" | "info" | "debug";
    info(...args) => number;
    log(...args) => number;
    setLogLevel(lv) => void;
    setTitle(title) => void;
    warn(...args) => 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?) => {
        debug(...args) => number;
        error(...args) => number;
        getLogLevel() => "none" | "log" | "error" | "warn" | "info" | "debug";
        info(...args) => number;
        log(...args) => number;
        setLogLevel(lv) => void;
        setTitle(title) => void;
        warn(...args) => number;
    })
      • (level?): {
            debug(...args) => number;
            error(...args) => number;
            getLogLevel() => "none" | "log" | "error" | "warn" | "info" | "debug";
            info(...args) => number;
            log(...args) => number;
            setLogLevel(lv) => void;
            setTitle(title) => void;
            warn(...args) => number;
        }
      • Parameters

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

        Returns {
            debug(...args) => number;
            error(...args) => number;
            getLogLevel() => "none" | "log" | "error" | "warn" | "info" | "debug";
            info(...args) => number;
            log(...args) => number;
            setLogLevel(lv) => void;
            setTitle(title) => void;
            warn(...args) => number;
        }

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

Generated using TypeDoc