资 源 简 介
Logging system for ActionScript 3 for different publishers
This logger system is inspired by the concept of Zeroi AS2.
You can output the logs on different publishers, e.g. SOS, a simple TextField or maybe your own output system.
All methods are static, so no instantiation is required.
The aim of this logger is too keep the usage as simple
as possible.
To develop your own publisher, just implement the IPublisher interface.
Examples
Simple example for TextFieldPublisher:
```
var field : TextField = TextFieldPublisher.getLoggerField();
addChild( field );
Logger.publisher = new TextFieldPublisher( field );
Logger.info( "It works" );
Logger.debug( "Some debug output" , 15 , [1, 2, 3] );
```
SOSPublisher:
```
Logger.publisher = new SOSPublisher;
Logger.info( "It works" );
Logger.debug( "Some debug output" , 15 , [1, 2, 3] );
```
Combined publish
文 件 列 表
docs
all-classes.html
all-index-A.html
all-index-B.html
all-index-C.html
all-index-D.html
all-index-E.html
all-index-F.html
all-index-G.html
all-index-H.html
all-index-I.html
all-index-J.html
all-index-K.html
all-index-L.html
all-index-M.html
all-index-N.html
all-index-O.html
all-index-P.html
all-index-Q.html
all-index-R.html
all-index-S.html
all-index-T.html
all-index-U.html
all-index-V.html
all-index-W.html
all-index-X.html
all-index-Y.html
all-index-Z.html
appendixes.html
asdoc.js
class-summary.html
cookies.js
de
images
index-list.html
index.html
mxml-tags.html
package-frame.html
package-list.html
package-summary.html
print.css
style.css
title-bar.html
src
de
test
Test.as