Skip to content

@vtj


@vtj / utils / Logger

Class: Logger

Defined in: packages/utils/src/logger.ts:69

Constructors

new Logger()

new Logger(options): Logger

Defined in: packages/utils/src/logger.ts:72

Parameters

options

Options

Returns

Logger

Properties

config

config: object

Defined in: packages/utils/src/logger.ts:70

targetBizName

targetBizName: string

targetLevel

targetLevel: LoggerLevel


options

options: Options

Defined in: packages/utils/src/logger.ts:71

Methods

debug()

debug(...args): any

Defined in: packages/utils/src/logger.ts:89

Parameters

args

...any[]

Returns

any


error()

error(...args): any

Defined in: packages/utils/src/logger.ts:101

Parameters

args

...any[]

Returns

any


info()

info(...args): any

Defined in: packages/utils/src/logger.ts:95

Parameters

args

...any[]

Returns

any


log()

log(...args): any

Defined in: packages/utils/src/logger.ts:92

Parameters

args

...any[]

Returns

any


warn()

warn(...args): any

Defined in: packages/utils/src/logger.ts:98

Parameters

args

...any[]

Returns

any

Released under the MIT License.