@gibme/logger
    Preparing search index...

    Interface ILogger

    interface ILogger {
        addLog: (filename: string, level?: string, logPath?: string) => void;
        defaultFilename: () => string;
        defaultFilenamePath: () => string;
        disableDefaultLog: () => void;
        path: () => string;
    }

    Hierarchy

    • Logger
      • ILogger
    Index

    Properties

    addLog: (filename: string, level?: string, logPath?: string) => void

    Creates a new log file with the specified filename in the specified log path with the specified logging level

    defaultFilename: () => string

    Returns the filename of the default log file

    defaultFilenamePath: () => string

    Returns the fully qualified default log file path

    disableDefaultLog: () => void

    Disables the default logging transport

    path: () => string

    Returns the fully qualified default log path