Skip to content

Logger

Class

Source: angular-logger/src/lib/model/logger.ts:5

Implements

  • Logger

Constructors

constructor()

new Logger(): Logger

Returns

Logger

Properties

accessKey

readonly abstract accessKey: string

Source: angular-logger/src/lib/model/logger.ts:6

Implementation of

LoggerInterface.accessKey

logLevel

abstract logLevel: LogLevel

Source: angular-logger/src/lib/model/logger.ts:8

Implementation of

LoggerInterface.logLevel

Methods

addConsumer()

Abstract addConsumer(consumer: LogConsumer): void

Source: angular-logger/src/lib/model/logger.ts:10

Parameters

ParameterType
consumerLogConsumer

Returns

void

Implementation of

LoggerInterface.addConsumer

debug()

Abstract debug(source: string, ...messages: unknown[]): void

Source: angular-logger/src/lib/model/logger.ts:12

Parameters

ParameterType
sourcestring
...messagesunknown[]

Returns

void

Implementation of

LoggerInterface.debug

error()

Abstract error(source: string, ...messages: unknown[]): void

Source: angular-logger/src/lib/model/logger.ts:14

Parameters

ParameterType
sourcestring
...messagesunknown[]

Returns

void

Implementation of

LoggerInterface.error

info()

Abstract info(source: string, ...messages: unknown[]): void

Source: angular-logger/src/lib/model/logger.ts:16

Parameters

ParameterType
sourcestring
...messagesunknown[]

Returns

void

Implementation of

LoggerInterface.info

warn()

Abstract warn(source: string, ...messages: unknown[]): void

Source: angular-logger/src/lib/model/logger.ts:18

Parameters

ParameterType
sourcestring
...messagesunknown[]

Returns

void

Implementation of

LoggerInterface.warn