Reference Source
public class | source

LoggerConsole

Extends:

Logger → LoggerConsole

Constructor Summary

Public Constructor
public

constructor(arg_context: string): nothing

Create a Console Logger instance.

Member Summary

Public Members
public

Method Summary

Public Methods
public

debug_self(arg_opds: array): nothing

Logger DEBUG implementation.

public

error_self(arg_opds: array): nothing

Logger ERROR implementation.

public

info_self(arg_opds: array): nothing

Logger INFO implementation.

public

warn_self(arg_opds: array): nothing

Logger WARN implementation.

Inherited Summary

From class Logger
public static

format(args: string | array): string

Get formatted trace message.

public
public
public
public
public
public
public
public

uid: *

public

debug(arg_opds: string | array): nothing

Trace DEBUG formatted message.

public

disable_trace(): nothing

Disable traces.

public

enable_trace(): nothing

Enable traces.

public

enter_group(arg_context: string, arg_group: string): nothing

Trace INFO message on "enter trace group".

public

error(arg_opds: string | array): nothing

Trace ERROR formatted message.

public

Get trace flag.

public

Get logger uid.

public

info(arg_opds: string | array): nothing

Trace INFO formatted message.

public

leave_group(arg_context: string, arg_group: string): nothing

Trace INFO message on "leave trace group".

public

separate_level_1(arg_context: string): nothing

Trace INFO trace level 1 separator.

public

separate_level_2(arg_context: string): nothing

Trace INFO trace level 2 separator.

public

separate_level_3(arg_context: string): nothing

Trace INFO trace level 3 separator.

public

set_trace(arg_enabled: boolean): nothing

Set trace flag.

public

Toggle trace flag.

public

warn(arg_opds: string | array): nothing

Trace WARN formatted message.

Public Constructors

public constructor(arg_context: string): nothing source

Create a Console Logger instance.

Override:

Logger#constructor

Params:

NameTypeAttributeDescription
arg_context string

trace context.

Return:

nothing

Public Members

public is_logger_console: boolean source

Public Methods

public debug_self(arg_opds: array): nothing source

Logger DEBUG implementation.

Params:

NameTypeAttributeDescription
arg_opds array

log record array.

Return:

nothing

public error_self(arg_opds: array): nothing source

Logger ERROR implementation.

Params:

NameTypeAttributeDescription
arg_opds array

log record array.

Return:

nothing

public info_self(arg_opds: array): nothing source

Logger INFO implementation.

Params:

NameTypeAttributeDescription
arg_opds array

log record array.

Return:

nothing

public warn_self(arg_opds: array): nothing source

Logger WARN implementation.

Params:

NameTypeAttributeDescription
arg_opds array

log record array.

Return:

nothing