Class: Log

console-base-resource/jgconsole.Log()

Easy access to logging.

Constructor

new Log()

Source:

Methods

(static) debug(message)

Output a debug message.

Parameters:
Name Type Description
message string

the message to print

Source:

(static) error(message)

Output an error message.

Parameters:
Name Type Description
message string

the message to print

Source:

(static) format(date)

Format the given date as appropriate for a log time stamp.

Parameters:
Name Type Description
date Date

the date to format

Source:

(static) info(message)

Output an info message.

Parameters:
Name Type Description
message string

the message to print

Source:

(static) warn(message)

Output a warn message.

Parameters:
Name Type Description
message string

the message to print

Source: