Module: log_js

Methods

(inner) logDebug(message) → {void}

Logs a debug message
Parameters:
Name Type Description
message string message to log
Source:
Returns:
Type
void

(inner) logError(message) → {void}

Logs an error message
Parameters:
Name Type Description
message string message to log
Source:
Returns:
Type
void

(inner) logInfo(message) → {void}

Logs an info message
Parameters:
Name Type Description
message string message to log
Source:
Returns:
Type
void

(inner) logLog(loglevel, message) → {void}

Central logging function
Parameters:
Name Type Description
loglevel number the numeric loglevel: 0 = error, 1 = warn, 2 = info, 3 = verbose, 4 = debug
message string message to log
Source:
Returns:
Type
void

(inner) logSeverity(severity, message) → {void}

Logs a message by jsonrpc severity
Parameters:
Name Type Description
severity string jsonrpc severity, on off error, warn, info
message string message to log
Source:
Returns:
Type
void

(inner) logVerbose(message) → {void}

Logs a verbose message
Parameters:
Name Type Description
message string message to log
Source:
Returns:
Type
void

(inner) logWarn(message) → {void}

Logs a warn message
Parameters:
Name Type Description
message string message to log
Source:
Returns:
Type
void