Class ConsoleAppender
Extends
Appender.
ConsoleAppender
Defined in: Hermes.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<private> |
ConsoleAppender(oLayout)
ConsoleAppender is a class to append log messages in the console.
|
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 the method that clear all the logged messages in the console.
|
|
log(oError)
log is the method that logs the message to the console.
|
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