Class: Log

CMS~Log()

Logging utility class for the CMS to report messages to the web console.

Constructor

new Log()

Source:

Methods

(static) Debug(source, …args)

Log a [DEBUG] message to the console, (only when debug mode is enabled).

Parameters:
Name Type Attributes Description
source string
args any <repeatable>
Source:

(static) EnableDebug()

Enable debug mode for the CMS.

Source:

(static) Error(source, …args)

Log an [ERROR] message to the console.

Parameters:
Name Type Attributes Description
source string
args any <repeatable>
Source:

(static) Warn(source, …args)

Log a [WARNING] message to the console.

Parameters:
Name Type Attributes Description
source string
args any <repeatable>
Source:

(static) _Date() → {string}

Get the current time in HH:MM:SS format.

Source:
Returns:
Type
string