API Docs for: 2.6
Show:

arch_logger Class

Module: logger

The architect module that offers the logger.

Methods

getErrorCounter

() Number

Returns the number of the error log entries.

Returns:

Number:

The number of the error log entries.

getTimestamp

() String

Return a string representation of the date and time.

Returns:

String:

A date and time.

getWarnCounter

() Number

Returns the number of the warning log entries.

Returns:

Number:

The number of the warning log entries.

Properties

errorCounter

Number private

The number of the error log entries.

Default: 0

logger

Object static

The logger to be used by other components.

PATH

String private final

The path of the JSON configuration file.

Default: "/etc/nethcti/nethcti.json"

warnCounter

Number private

The number of the warning log entries.

Default: 0