interface CliOptions {
    all?: boolean;
    colors?: Record<string, string>;
    level?: boolean;
    levels?: Record<string, number>;
    message?: boolean;
}

Hierarchy (view full)

Properties

all?: boolean

If set to true the color will be applied to the message and level.

colors?: Record<string, string>

An object containing the colors for the log levels. For example: { info: 'blue', error: 'red' }.

level?: boolean

If set to true the color will be applied to the level.

levels?: Record<string, number>

Log levels. Defaults to configs.npm.levels from triple-beam module.

message?: boolean

If set to true the color will be applied to the message.