Constructor
new ConsoleLogger(name)
Parameters:
Name | Type | Description |
---|---|---|
name |
string | Name of the logger |
- Source:
Methods
debug(…msg)
Write DEBUG log
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string | object |
<repeatable> |
Logging message or object |
- Source:
error(…msg)
Write ERROR log
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string | object |
<repeatable> |
Logging message or object |
- Source:
info(…msg)
Write INFO log
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string | object |
<repeatable> |
Logging message or object |
- Source:
log(…msg)
Write General log. Default to INFO
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string | object |
<repeatable> |
Logging message or object |
- Source:
verbose(…msg)
Write VERBOSE log
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string | object |
<repeatable> |
Logging message or object |
- Source:
warn(…msg)
Write WARN log
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
msg |
string | object |
<repeatable> |
Logging message or object |
- Source: