Skip to main content

Interface: ILogger

Implemented by

Methods

debug

โ–ธ debug(...values): void

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

Parameters

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

Returns

void

Defined in

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


error

โ–ธ error(...values): void

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

Parameters

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

Returns

void

Defined in

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


fatal

โ–ธ fatal(...values): void

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

Parameters

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

Returns

void

Defined in

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


has

โ–ธ has(level): boolean

Checks whether a level is supported.

Parameters

NameTypeDescription
levelLogLevelThe level to check.

Returns

boolean

Defined in

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


info

โ–ธ info(...values): void

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

Parameters

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

Returns

void

Defined in

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


trace

โ–ธ trace(...values): void

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

Parameters

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

Returns

void

Defined in

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


warn

โ–ธ warn(...values): void

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

Parameters

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

Returns

void

Defined in

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


write

โ–ธ write(level, ...values): void

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

Parameters

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

Returns

void

Defined in

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