Interface StandardLog<N>

Type Parameters

Hierarchy

Properties

logLevel: number

The current log level.

Methods

  • Get a non-console logger instance with the specified id.

    The resulting logger will only send to the reporters that are not console reporters.

    const logger = getNonConsoleLogger('my-logger')

    logger.info('Hello world!') // will not send to any console reporter

    Parameters

    Returns Logger<LogMethodNames | N>

  • Convert log level name to log level number.

    Parameters

    • name: N

    Returns number

  • Convert log level number to log level name.

    Parameters

    • level: number

    Returns string

Generated using TypeDoc