Interface ConsoleAppenderConfig

Interface defining the basic configuration for all Appender classes.

interface ConsoleAppenderConfig {
    errorFormat?: string;
    logFormat: string;
    name: string;
    providerToken: InjectionToken<Appender>;
}

Hierarchy (View Summary)

Properties

errorFormat?: string

The string format for Errors included with a log entry.

The format string may include both string literals and AppenderPlaceholders which will be replaced with the corresponding value.

logFormat: string

The string format for each log entry.

The format string may include both string literals and AppenderPlaceholders which will be replaced with the corresponding value.

name: string

The name of the appender configuration. This value is referenced in LoggerConfig.appenderNames.

providerToken: InjectionToken<Appender>

The InjectionToken provided for the required Appender.