StreamLogger
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(arg_stream: Bacon.Bus, arg_enabled: boolean): nothing Create a Stream Logger instance. |
Member Summary
Public Members | ||
public |
|
|
public |
stream: * |
Method Summary
Public Methods | ||
public |
convert_array_to_object(arg_log_array: array): object Convert log array to log object. |
|
public |
debug_self(arg_opds: array): nothing Logger DEBUG implementation. |
|
public |
error_self(arg_opds: array): nothing Logger ERROR implementation. |
|
public |
get_stream(): Stream Get logs stream. |
|
public |
info_self(arg_opds: array): nothing Logger INFO implementation. |
|
public |
warn_self(arg_opds: array): nothing Logger WARN implementation. |
Public Constructors
Public Methods
public convert_array_to_object(arg_log_array: array): object source
Convert log array to log object.
Params:
Name | Type | Attribute | Description |
arg_log_array | array | log record array (length= ) |
public debug_self(arg_opds: array): nothing source
Logger DEBUG implementation.
Params:
Name | Type | Attribute | Description |
arg_opds | array | log record array. |
Return:
nothing |
public error_self(arg_opds: array): nothing source
Logger ERROR implementation.
Params:
Name | Type | Attribute | Description |
arg_opds | array | log record array. |
Return:
nothing |
public info_self(arg_opds: array): nothing source
Logger INFO implementation.
Params:
Name | Type | Attribute | Description |
arg_opds | array | log record array. |
Return:
nothing |
public warn_self(arg_opds: array): nothing source
Logger WARN implementation.
Params:
Name | Type | Attribute | Description |
arg_opds | array | log record array. |
Return:
nothing |