vexi.log - Logging API

The methods on the log object log by default formatted information to console. Included in the outputed message is the filename and line number of the log statement.

A log message can either be an Exception or a String (All other arguments get converted to Strings) as a message. If an Exception is logged then its error message and backtrace are formatted and logged.

Properties

Methods

Method Returns Description

debug(msg)

null

Writes a DEBUG-level log message to the log.

error(msg)

null

Writes a ERROR-level log message to the log.

info(msg)

null

Writes a INFO-level log message to the log.

warn(msg)

null

Writes a WARN-level log message to the log.

 


Copyright © 2011 The Vexi Project (vexi.sourceforge.net)