Class Level
Level
Defined in: Hermes.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<private> |
Level(nLevel, sLevel)
Level is the class that sets the Error level
|
Field Attributes | Field Name and Description |
---|---|
<static> |
Level.ALL
|
<static> |
Level.DEBUG
|
<static> |
Level.ERROR
|
<static> |
Level.FATAL
|
<static> |
Level.INFO
|
<static> |
Level.nALL
|
<static> |
Level.nDEBUG
|
<static> |
Level.nERROR
|
<static> |
Level.nFATAL
|
<static> |
Level.nINFO
|
<static> |
Level.nOFF
|
<static> |
Level.nTRACE
|
<static> |
Level.nWARNING
|
<static> |
Level.OFF
|
<static> |
Level.TRACE
|
<static> |
Level.WARNING
|
Method Attributes | Method Name and Description |
---|---|
getLevel(sLevel)
getLevel return the Level from the sLevel Name
|
|
toString()
toString overwrittes the Object.prototype.toString to return the name of the Level
|
|
valueOf()
valueOf returns the number of Level
|
Class Detail
<private>
Level(nLevel, sLevel)
Level is the class that sets the Error level
- Parameters:
- nLevel
- sLevel
Field Detail
<static>
Level.ALL
<static>
Level.DEBUG
<static>
Level.ERROR
<static>
Level.FATAL
<static>
Level.INFO
<static>
Level.nALL
<static>
Level.nDEBUG
<static>
Level.nERROR
<static>
Level.nFATAL
<static>
Level.nINFO
<static>
Level.nOFF
<static>
Level.nTRACE
<static>
Level.nWARNING
<static>
Level.OFF
<static>
Level.TRACE
<static>
Level.WARNING
Method Detail
getLevel(sLevel)
getLevel return the Level from the sLevel Name
- Parameters:
- sLevel
- Returns:
- oNewLevel
toString()
toString overwrittes the Object.prototype.toString to return the name of the Level
- Returns:
- sLevel
valueOf()
valueOf returns the number of Level
- Returns:
- nLevel