Type alias StructureOptions

StructureOptions: {
    logJSON?: boolean;
    logLevel?: pino.Level;
    name?: string;
    pinoOptions?: pino.LoggerOptions;
}

Represents the options for creating a Structure instance.

Type declaration

  • Optional logJSON?: boolean

    Whether to log in JSON format

  • Optional logLevel?: pino.Level

    The log level for the structure

  • Optional name?: string

    The name of the structure

  • Optional pinoOptions?: pino.LoggerOptions

    The options for the pino logger