Constructors
constructor
- new LogCollector(label, opts?): LogCollector
Parameters
- label: string
- opts: {
parent?: LogCollector;
shouldStart?: boolean;
silent?: boolean;
} = ...Optional
shouldStart?: boolean
Optional
silent?: boolean
Properties
Accessors
hasWarningsOrErrors
- get hasWarningsOrErrors(): boolean
Returns boolean
Methods
debug
- debug(text): void
Returns void
dump
- dump(severity): void
Parameters
- severity:
| "error"
| "warning"
| "info"
| "debug"
Returns void
error
- error(text): void
Returns void
fail
- fail(severity): void
Parameters
- severity:
| "error"
| "warning"
| "info"
| "debug"
Returns void
getChild
- getChild(label, opts?): LogCollector
Parameters
- label: string
- opts: {
shouldStart?: boolean;
silent: boolean;
} = ...Optional
shouldStart?: boolean
silent: boolean
info
- info(text): void
Returns void
succeed
- succeed(severity): void
Parameters
- severity:
| "error"
| "warning"
| "info"
| "debug"
Returns void
warning
- warning(text): void
Returns void