Logger

Logger

Source:

Manages logging. Extends console

Methods

(static) error(error)

Source:

Error logging override

Parameters:
Name Type Description
error Error

Exception to be traced

(static) log(error)

Source:

Log override

Parameters:
Name Type Description
error Error

Exception to be traced

(static) notify(message)

Source:

Logger will only write those messages if verbose is on

Parameters:
Name Type Description
message String

Message to be traced

(static) setLogFile(log_file)

Source:

Set log file to write to. Pass empty if you want to redirect to console.

Parameters:
Name Type Description
log_file String

Absolute path to file

(static) trace()

Source:

Trace logging override