LoggerOptions: {
    fields?: Fields;
    level?: LoggerLevelValue;
    name: string;
    useMemoryLogger?: boolean;
}

The common set of Logger options.

Type declaration

  • Optional fields?: Fields

    Create a logger with the fields set

  • Optional level?: LoggerLevelValue

    The desired log level.

  • name: string

    The logger name.

  • Optional useMemoryLogger?: boolean

    log to memory instead of to a file. Intended for Unit Testing