Interface Options

class constructor options

Hierarchy

  • Options

Properties

middleware: {
    levels: true | string[];
    mw: Middleware;
}[]

Middleware for each log level appended to the default log middleware. levels is an array of level names the middleware is applied to. if levels is true, it is applied to all levels

Type declaration

serializer?: Serializer

if provided, all log levels are initialized with this serializer

target?: Target

if provided, all log levels are initialized with this target

Generated using TypeDoc