Logger

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

Summary


Constructor
Class methods
Instance methods

Constructor

Logger

public function Logger (

Class methods

DEBUG

public static function DEBUG (
o:*, oChannel:EventChannel = null) : Boolean

ERROR

public static function ERROR (
o:*, oChannel:EventChannel = null) : Boolean

FATAL

public static function FATAL (
o:*, oChannel:EventChannel = null) : Boolean

getInstance

public static function getInstance (
) : Logger

INFO

public static function INFO (
o:*, oChannel:EventChannel = null) : Boolean

LOG

public static function LOG (
o:*, level:LogLevel, oChannel:EventChannel = null) : Boolean

WARN

public static function WARN (
o:*, oChannel:EventChannel = null) : Boolean

Instance methods

addLogListener

public function addLogListener (
listener:LogListener, oChannel:EventChannel = null) : void

getLevel

public function getLevel (

hasListener

public function hasListener (
oChannel:EventChannel = null) : Boolean

isRegistered

public function isRegistered (
listener:LogListener, oChannel:EventChannel) : Boolean

log

public function log (
e:LogEvent, oChannel:EventChannel = null) : Boolean

removeAllListeners

public function removeAllListeners (
) : void

removeLogListener

public function removeLogListener (
listener:LogListener, oChannel:EventChannel = null) : void

setLevel

public function setLevel (
level:LogLevel) : void

toString

public function toString (
) : String

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