Class Appender
Appender
Defined in: Hermes.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<private> |
Appender(oLayout)
Appender is the class that will log or clear messages
|
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 Attributes | Method Name and Description |
---|---|
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.
|
|
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()
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}