Reference Source
public class | source

LoggerManager

Constructor Summary

Public Constructor
public

constructor(arg_settings: object): nothing

Create a Logger manager instance.

Member Summary

Public Members
public
public
public

loggers: *[]

Private Members
private

Method Summary

Public Methods
public

debug(arg_opds: string | array): nothing

Loggers DEBUG implementation.

public

disable_trace(): nothing

Disable traces.

public

enable_trace(): nothing

Enable traces.

public

error(arg_opds: string | array): nothing

Loggers ERROR implementation.

public

Get trace flag.

public

Get tracez settings for Loggable.should_trace.

public

info(arg_opds: string | array): nothing

Loggers INFO implementation.

public

load(arg_settings: object): nothing

Load settings.

public

set_trace(arg_value: boolean): nothing

Set trace flag.

public

Toggle trace flag.

public

warn(arg_opds: string | array): nothing

Loggers WARN implementation.

Public Constructors

public constructor(arg_settings: object): nothing source

Create a Logger manager instance.

Params:

NameTypeAttributeDescription
arg_settings object

loggers settings

Return:

nothing

Public Members

public $settings: * source

public is_logger_manager: boolean source

public loggers: *[] source

Private Members

private _runtime: * source

Public Methods

public debug(arg_opds: string | array): nothing source

Loggers DEBUG implementation.

Params:

NameTypeAttributeDescription
arg_opds string | array

messages strings.

Return:

nothing

public disable_trace(): nothing source

Disable traces.

Return:

nothing

public enable_trace(): nothing source

Enable traces.

Return:

nothing

public error(arg_opds: string | array): nothing source

Loggers ERROR implementation.

Params:

NameTypeAttributeDescription
arg_opds string | array

messages strings.

Return:

nothing

public get_trace(): boolean source

Get trace flag.

Return:

boolean

public get_traces_settings(): * source

Get tracez settings for Loggable.should_trace.

Return:

*

public info(arg_opds: string | array): nothing source

Loggers INFO implementation.

Params:

NameTypeAttributeDescription
arg_opds string | array

messages strings.

Return:

nothing

public load(arg_settings: object): nothing source

Load settings.

Params:

NameTypeAttributeDescription
arg_settings object

loggers settings.

Return:

nothing

public set_trace(arg_value: boolean): nothing source

Set trace flag.

Params:

NameTypeAttributeDescription
arg_value boolean

trace flag.

Return:

nothing

public toggle_trace(): boolean source

Toggle trace flag.

Return:

boolean

public warn(arg_opds: string | array): nothing source

Loggers WARN implementation.

Params:

NameTypeAttributeDescription
arg_opds string | array

messages strings.

Return:

nothing