Class: NullLogger
Defined in: packages/config-bound/src/utilities/logger.ts:144
Internal
A logger that does nothing
Implements
Constructors
Constructor
ts
new NullLogger(): NullLogger;Returns
NullLogger
Properties
| Property | Type | Default value | Defined in |
|---|---|---|---|
logLevels | ("trace" | "debug" | "info" | "warn" | "error" | "silent")[] | [] | packages/config-bound/src/utilities/logger.ts:145 |
Methods
debug()
ts
debug(_message, ..._meta): void;Defined in: packages/config-bound/src/utilities/logger.ts:161
Don't log anything at the debug level
Parameters
| Parameter | Type | Description |
|---|---|---|
_message | string | The message to log |
..._meta | any[] | Additional metadata to log |
Returns
void
Implementation of
error()
ts
error(_message, ..._meta): void;Defined in: packages/config-bound/src/utilities/logger.ts:188
Don't log anything at the error level
Parameters
| Parameter | Type | Description |
|---|---|---|
_message | string | The message to log |
..._meta | any[] | Additional metadata to log |
Returns
void
Implementation of
info()
ts
info(_message, ..._meta): void;Defined in: packages/config-bound/src/utilities/logger.ts:170
Don't log anything at the info level
Parameters
| Parameter | Type | Description |
|---|---|---|
_message | string | The message to log |
..._meta | any[] | Additional metadata to log |
Returns
void
Implementation of
trace()
ts
trace(_message, ..._meta): void;Defined in: packages/config-bound/src/utilities/logger.ts:152
Don't log anything at the trace level
Parameters
| Parameter | Type | Description |
|---|---|---|
_message | string | The message to log |
..._meta | any[] | Additional metadata to log |
Returns
void
Implementation of
warn()
ts
warn(_message, ..._meta): void;Defined in: packages/config-bound/src/utilities/logger.ts:179
Don't log anything at the warn level
Parameters
| Parameter | Type | Description |
|---|---|---|
_message | string | The message to log |
..._meta | any[] | Additional metadata to log |
Returns
void