LogLevel

Kind of class:public class
Package:com.bourre.log
Inherits from:none
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.log.LogLevel
File last modified:Monday, 24 November 2008, 11:36:47

Summary


Constructor
  • LogLevel (nLevel:uint = uint.MIN_VALUE, sName:String = "")
Instance methods

Constructor

LogLevel

public function LogLevel (
nLevel:uint = uint.MIN_VALUE, sName:String = "")

Constants

ALL

public static const ALL:LogLevel = new LogLevel ( uint.MIN_VALUE, "ALL" )
(read)

DEBUG

public static const DEBUG:LogLevel = new LogLevel ( 10000, "DEBUG" )
(read)

ERROR

public static const ERROR:LogLevel = new LogLevel ( 40000, "ERROR" )
(read)

FATAL

public static const FATAL:LogLevel = new LogLevel ( 50000, "FATAL" )
(read)

INFO

public static const INFO:LogLevel = new LogLevel ( 20000, "INFO" )
(read)

OFF

public static const OFF:LogLevel = new LogLevel ( uint.MAX_VALUE, "OFF" )
(read)

WARN

public static const WARN:LogLevel = new LogLevel ( 30000, "WARN" )
(read)

Instance methods

getLevel

public function getLevel (
) : uint

getName

public function getName (
) : String

toString

public function toString (
) : String

Returns the string representation of this instance.
Returns:
  • the string representation of this instance