Class Index | File Index

Classes


Class ConsoleAppender


Extends Appender.
ConsoleAppender
Defined in: Hermes.js.

Class Summary
Constructor Attributes Constructor Name and Description
<private>  
ConsoleAppender(oLayout)
ConsoleAppender is a class to append log messages in the console.
Field Summary
Field Attributes Field Name and Description
 
oLayout is the Layout instance to be used to format the error before append it
 
sName is the name of the appender
Method Summary
Method Attributes Method Name and Description
 
clear is the method that clear all the logged messages in the console.
 
log(oError)
log is the method that logs the message to the console.
Methods borrowed from class Appender:
setLayout, setName, toString
Class Detail
<private> ConsoleAppender(oLayout)
ConsoleAppender is a class to append log messages in the console.
Parameters:
oLayout
Field Detail
oLayout
oLayout is the Layout instance to be used to format the error before append it

sName
sName is the name of the appender
Method Detail
clear()
clear is the method that clear all the logged messages in the console. Before clear it's needed to check if console exist.

log(oError)
log is the method that logs the message to the console. Before log it's needed to check if console exist.
Parameters:
oError

©2011
Documentation generated by JsDoc Toolkit 2.4.0 on Sat Oct 08 2011 19:55:26 GMT+0200 (CEST)