LogFormatterOption: {
    logFormatter?: LogFormatter;
    logRecordOrder?: never;
}

Options for the logFormatter constructor option.

Used to make the logFormatter option mutually exclusive with the logRecordOrder option.

Type declaration

  • OptionallogFormatter?: LogFormatter

    The custom log formatter to process log attributes.

    See Custom Log Formatters for more information.

  • OptionallogRecordOrder?: never

    Optional list of keys to specify order of the keys in logs.