RFC5424LoggingMixin
Hierarchy
RFC5424LoggingMixin
Index
Methods
Methods
alert
▸ alert(entry: string | LogEntry, ...args: any[]): void
Logs action must be taken immediately.
Parameters:
| Name | Type | Description | 
|---|---|---|
entry | string | LogEntry | Logging entry as a string or loggable. | 
...args | any[] | Any other arguments that will be attached to log entry. | 
Returns: void
crit
▸ crit(entry: string | LogEntry, ...args: any[]): void
Logs critical conditions.
Parameters:
| Name | Type | Description | 
|---|---|---|
entry | string | LogEntry | Logging entry as a string or loggable. | 
...args | any[] | Any other arguments that will be attached to log entry. | 
Returns: void
debug
▸ debug(entry: string | LogEntry, ...args: any[]): void
Logs debug-level messages.
Parameters:
| Name | Type | Description | 
|---|---|---|
entry | string | LogEntry | Logging entry as a string or loggable. | 
...args | any[] | Any other arguments that will be attached to log entry. | 
Returns: void
emerg
▸ emerg(entry: string | LogEntry, ...args: any[]): void
Logs emergency system is unusable.
Parameters:
| Name | Type | Description | 
|---|---|---|
entry | string | LogEntry | Logging entry as a string or loggable. | 
...args | any[] | Any other arguments that will be attached to log entry. | 
Returns: void
error
▸ error(entry: string | LogEntry, ...args: any[]): void
Logs error conditions.
Parameters:
| Name | Type | Description | 
|---|---|---|
entry | string | LogEntry | Logging entry as a string or loggable. | 
...args | any[] | Any other arguments that will be attached to log entry. | 
Returns: void
info
▸ info(entry: string | LogEntry, ...args: any[]): void
Logs informational messages.
Parameters:
| Name | Type | Description | 
|---|---|---|
entry | string | LogEntry | Logging entry as a string or loggable. | 
...args | any[] | Any other arguments that will be attached to log entry. | 
Returns: void
log
▸ log(entry: string | LogEntry, ...args: any[]): void
[PLACEHOLDER]: Logs message for level.
Parameters:
| Name | Type | Description | 
|---|---|---|
entry | string | LogEntry | Logging entry as a string or loggable. | 
...args | any[] | Any other arguments that will be attached to log entry. | 
Returns: void
notice
▸ notice(entry: string | LogEntry, ...args: any[]): void
Logs normal but significant condition.
Parameters:
| Name | Type | Description | 
|---|---|---|
entry | string | LogEntry | Logging entry as a string or loggable. | 
...args | any[] | Any other arguments that will be attached to log entry. | 
Returns: void
warning
▸ warning(entry: string | LogEntry, ...args: any[]): void
Logs warning conditions.
Parameters:
| Name | Type | Description | 
|---|---|---|
entry | string | LogEntry | Logging entry as a string or loggable. | 
...args | any[] | Any other arguments that will be attached to log entry. | 
Returns: void