Packageorg.spicefactory.lib.logging
Classpublic class LogLevel
InheritanceLogLevel Inheritance Object

Defines constants for the different log levels used in the framework.



Public Methods
 MethodDefined By
  
toString():String
Returns the String representation for this log level.
LogLevel
  
toValue():uint
Returns a numeric value representing the log level.
LogLevel
Public Constants
 ConstantDefined By
  DEBUG : LogLevel
[static] The DEBUG level designates fine-grained informational events that are most useful to debug an application.
LogLevel
  ERROR : LogLevel
[static] The ERROR level designates error events that might still allow the application to continue running.
LogLevel
  FATAL : LogLevel
[static] The FATAL level designates very severe error events that will presumably lead the application to abort.
LogLevel
  INFO : LogLevel
[static] The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
LogLevel
  OFF : LogLevel
[static] The level to turn off all logging.
LogLevel
  TRACE : LogLevel
[static] The TRACE level designates very fine-grained information and represents the lowest rank of all levels.
LogLevel
  WARN : LogLevel
[static] The WARN level designates potentially harmful situations.
LogLevel
Method Detail
toString()method
public function toString():String

Returns the String representation for this log level.

Returns
String — the String representation for this log level
toValue()method 
public function toValue():uint

Returns a numeric value representing the log level. Log levels with higher severity have higher numeric values.

Returns
uint — the numeric value representing this log level
Constant Detail
DEBUGConstant
public static const DEBUG:LogLevel

The DEBUG level designates fine-grained informational events that are most useful to debug an application.

ERRORConstant 
public static const ERROR:LogLevel

The ERROR level designates error events that might still allow the application to continue running.

FATALConstant 
public static const FATAL:LogLevel

The FATAL level designates very severe error events that will presumably lead the application to abort.

INFOConstant 
public static const INFO:LogLevel

The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.

OFFConstant 
public static const OFF:LogLevel

The level to turn off all logging.

TRACEConstant 
public static const TRACE:LogLevel

The TRACE level designates very fine-grained information and represents the lowest rank of all levels.

WARNConstant 
public static const WARN:LogLevel

The WARN level designates potentially harmful situations.