Class com.innocuo.log.buffers.TestBuffer

Implemented Interfaces

LaoBuffer

Description

This is a test buffer. It stores log messages in an internal buffer you can publish them to the flash IDE output window when you use flush()

See Also

Method Index

new TestBuffer()
clear(), flush(), log()

Constructor Detail

TestBuffer

function TestBuffer()

creates and initializes the internal buffer

Method Detail

log

public function log(evtObj:Object):Void

processes the log message and stores the output in the internal buffer

Specified By

log() in com.innocuo.log.buffers.LaoBuffer

flush

public function flush(evtObj:Object):Void

publishes the internal buffer's content to the output window. If there's LaoLogger that has the buffer registered, and has a autoFlush greater than 0, it will call this method (via an event) automatically

Specified By

flush() in com.innocuo.log.buffers.LaoBuffer

clear

public function clear(evtObj:Object):Void

clears the internal buffer

Specified By

clear() in com.innocuo.log.buffers.LaoBuffer