Interface LoggerConstructor

Source
Expand description

Args for constructing a logger

interface LoggerConstructor {
    color?: string;
    level?: LogLevelStr;
}

Properties§

§color?: string

CSS Color for the logger, default is 'gray'

§level?: LogLevelStr

Logging level, default is "default". The level can still be changed later with setLevel