Class: Logger
Implements
Logger
Constructors
new Logger(output, clazz)
new Logger(
output
,clazz
):Logger
Parameters
• output: WorkerOutput
• clazz: string
Returns
Source
packages/core/src/utils/logger.ts:134
Properties
clazz
clazz:
string
Source
packages/core/src/utils/logger.ts:132
output
output:
WorkerOutput
Source
packages/core/src/utils/logger.ts:131
Methods
log()
log(
level
, ...args
):void
Parameters
• level: WorkerLogLevel
• ...args: any
[]
Returns
void
Implementation of
WorkoutLogger.log
Source
packages/core/src/utils/logger.ts:139
logGroupClose()
logGroupClose():
void
Returns
void
Implementation of
WorkoutLogger.logGroupClose
Source
packages/core/src/utils/logger.ts:154
logGroupOpen()
logGroupOpen(
name
):void
Parameters
• name: string
Returns
void
Implementation of
WorkoutLogger.logGroupOpen
Source
packages/core/src/utils/logger.ts:150
logProgressIncrement()
logProgressIncrement(
inc
,uid
):void
Parameters
• inc: number
= 1
• uid: string
= undefined
Returns
void
Implementation of
WorkoutLogger.logProgressIncrement
Source
packages/core/src/utils/logger.ts:162
logProgressStart()
logProgressStart(
uid
,total
,title
):void
Parameters
• uid: string
• total: number
• title: string
= undefined
Returns
void
Implementation of
WorkoutLogger.logProgressStart
Source
packages/core/src/utils/logger.ts:158
logProgressUpdate()
logProgressUpdate(
current
,uid
,title
):void
Parameters
• current: number
• uid: string
= undefined
• title: string
= undefined
Returns
void
Implementation of
WorkoutLogger.logProgressUpdate
Source
packages/core/src/utils/logger.ts:165
logTitle()
logTitle(
title
):void
Parameters
• title: string
Returns
void
Source
packages/core/src/utils/logger.ts:169
logWithContext()
logWithContext(
level
,context
, ...args
):void
Parameters
• level: WorkerLogLevel
• context: any
• ...args: any
[]
Returns
void