Page Contents

Home > @loopback/logging > WinstonLoggerProvider

WinstonLoggerProvider class

A provider class that creates WinstonLogger instances

Signature:

export declare class WinstonLoggerProvider implements Provider<Logger> 

Implements: Provider<Logger>

Constructors

Constructor Modifiers Description
(constructor)(transports, formats, options)   Constructs a new instance of the WinstonLoggerProvider class

Methods

Method Modifiers Description
value()