@nowarajs/logger
    Preparing search index...

    Class ConsoleLoggerSink<TLogObject>

    ConsoleLoggerSink implements LoggerSink to provide logging functionality to the console.

    Type Parameters

    • TLogObject = unknown

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Logs a message with the sink's implementation. If you want to create your own sink, you must implement this method and all imports must be in the form of dynamic imports.

      Parameters

      • level: LogLevels

        The log level at which the message should be logged.

      • timestamp: number

        The date at which the message was logged.

      • object: TLogObject

        The object to log.

      Returns void