Skip to main content

Interface: ILogger

Methods

debug()

debug(...values: readonly unknown[]): void

Alias of ILogger.write with LogLevel.Debug as level.

Parameters

ParameterTypeDescription
...valuesreadonly unknown[]The values to log.

Returns

void

Source

projects/framework/src/lib/utils/logger/ILogger.ts:58


error()

error(...values: readonly unknown[]): void

Alias of ILogger.write with LogLevel.Error as level.

Parameters

ParameterTypeDescription
...valuesreadonly unknown[]The values to log.

Returns

void

Source

projects/framework/src/lib/utils/logger/ILogger.ts:76


fatal()

fatal(...values: readonly unknown[]): void

Alias of ILogger.write with LogLevel.Fatal as level.

Parameters

ParameterTypeDescription
...valuesreadonly unknown[]The values to log.

Returns

void

Source

projects/framework/src/lib/utils/logger/ILogger.ts:82


has()

has(level: LogLevel): boolean

Checks whether a level is supported.

Parameters

ParameterTypeDescription
levelLogLevelThe level to check.

Returns

boolean

Source

projects/framework/src/lib/utils/logger/ILogger.ts:46


info()

info(...values: readonly unknown[]): void

Alias of ILogger.write with LogLevel.Info as level.

Parameters

ParameterTypeDescription
...valuesreadonly unknown[]The values to log.

Returns

void

Source

projects/framework/src/lib/utils/logger/ILogger.ts:64


trace()

trace(...values: readonly unknown[]): void

Alias of ILogger.write with LogLevel.Trace as level.

Parameters

ParameterTypeDescription
...valuesreadonly unknown[]The values to log.

Returns

void

Source

projects/framework/src/lib/utils/logger/ILogger.ts:52


warn()

warn(...values: readonly unknown[]): void

Alias of ILogger.write with LogLevel.Warn as level.

Parameters

ParameterTypeDescription
...valuesreadonly unknown[]The values to log.

Returns

void

Source

projects/framework/src/lib/utils/logger/ILogger.ts:70


write()

write(level: LogLevel, ...values: readonly unknown[]): void

Writes the log message given a level and the value(s).

Parameters

ParameterTypeDescription
levelLogLevelThe log level.
...valuesreadonly unknown[]The values to log.

Returns

void

Source

projects/framework/src/lib/utils/logger/ILogger.ts:89