Class Index | File Index

Classes


Class Appender

Appender
Defined in: Hermes.js.

Class Summary
Constructor Attributes Constructor Name and Description
<private>  
Appender(oLayout)
Appender is the class that will log or clear messages
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 an abstract method that needs to be overwritten on extended classes to make it work.
 
log(oError)
log is an abstract method that needs to be overwritten on extended classes to make it work.
 
setLayout(oLayout)
setLayout is the method to set the layout for Appender
 
setName(sName)
setName is the method to set the name of Appender
 
toString is the method to overwrite the Object.prototype.toString
Class Detail
<private> Appender(oLayout)
Appender is the class that will log or clear messages
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 an abstract method that needs to be overwritten on extended classes to make it work.

log(oError)
log is an abstract method that needs to be overwritten on extended classes to make it work.
Parameters:
oError

setLayout(oLayout)
setLayout is the method to set the layout for Appender
Parameters:
oLayout
Returns:
Appender instance

setName(sName)
setName is the method to set the name of Appender
Parameters:
sName
Returns:
Appender instance

{String} toString()
toString is the method to overwrite the Object.prototype.toString
Returns:
{String}

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