Uses the winston library to create loggers for the given logging level. By default, it will print to the console with colorized logging levels.

This creates instances of WinstonLogger.

Hierarchy

  • WinstonLoggerFactory

Implements

Constructors

Properties

Methods

Constructors

Properties

level: string

Methods

  • Create a logger instance for the given label.

    Parameters

    • label: string

      A label that is used to identify the given logger.

    Returns Logger