Class fever.utils.FireBugTracer

Implemented Interfaces

LogListener

Description

Displays log messages into Firebug console.

Example

   Logger.getInstance().addLogListener( FireBugTracer.getInstance(), FeverDebug.channel );
   
   FeverDebug.WARN( "A warning message" );
 

Method Index

closeGroup(), connect(), getInstance(), onLog(), openGroup()

Method Detail

connect

static public function connect(channel:LogChannel):FireBugTracer

Creates FireBugTracer instance and connects it to passed channel for logging API.

Example

 
   FireBugTracer.connect( FeverDebug.channel );
 

getInstance

static public function getInstance():FireBugTracer

Creates and returns a FireBugTracer instance.

openGroup

public function openGroup(caption:String):Void

Writes the passed-in message to the console and opens a nested block to indent all future messages sent to the console.

closeGroup

public function closeGroup():Void

Closes the most recently opened block created by a call to openGroup.

onLog

public function onLog(e:LogEvent):Void

Sends log message obtained from the passed-in e model to all registred Logger listeners.

Parameters

ePixlib LogEvent instance