Parameters
- namespace: string
Optional
prefix: string = 'workflow-js'
Returns {
debug: ((formatter, ...args) => void);
error: ((formatter, ...args) => void);
hit: ((formatter, ...args) => void);
info: ((formatter, ...args) => void);
miss: ((formatter, ...args) => void);
warn: ((formatter, ...args) => void);
}
An object with three functions.
debug: ((formatter, ...args) => void)
- (formatter, ...args): void
Parameters
- formatter: string
Rest
...args: unknown[]
Returns void
error: ((formatter, ...args) => void)
- (formatter, ...args): void
Parameters
- formatter: string
Rest
...args: unknown[]
Returns void
hit: ((formatter, ...args) => void)
- (formatter, ...args): void
Parameters
- formatter: string
Rest
...args: unknown[]
Returns void
info: ((formatter, ...args) => void)
- (formatter, ...args): void
Parameters
- formatter: string
Rest
...args: unknown[]
Returns void
miss: ((formatter, ...args) => void)
- (formatter, ...args): void
Parameters
- formatter: string
Rest
...args: unknown[]
Returns void
warn: ((formatter, ...args) => void)
- (formatter, ...args): void
Parameters
- formatter: string
Rest
...args: unknown[]
Returns void
It returns an object with three functions, each of which logs a message with a different color