How to locate log files while using as3 commons logging?

170 views
Skip to first unread message

Subhayan Mukerjee

unread,
Oct 9, 2013, 4:25:31 AM10/9/13
to as3-commons...@googlegroups.com
I've followed the User Guide to initialise a new logger with which to log messages in my AS3 code. What I cannot figure out is where exactly is the logging done? And how can one retrieve the log files? I'm guessing since writing to the file system from an swf application is a major security breach, that is not what is happening... so then what is? Can we somehow log messages on the Google Chrome console?

Any help would be appreciated.

Thanks.

martin heidegger

unread,
Oct 9, 2013, 6:55:06 AM10/9/13
to as3-commons...@googlegroups.com
The log library sends the log statements to targets and each target defines how the statements are treated. In a air application you can use http://www.as3commons.org/as3-commons-logging/asdoc/org/as3commons/logging/setup/target/AirFileTarget.html to store your calls in the filesystem or in a web application you can use http://www.as3commons.org/as3-commons-logging/asdoc/org/as3commons/logging/setup/target/FirebugTarget.html to write to the javascript console. If you are highly sophisticated you implement and wire your own http://www.as3commons.org/as3-commons-logging/asdoc/org/as3commons/logging/setup/ILogTarget.html and send all messages to a logging server that then stores the logs. 

yours


--
You received this message because you are subscribed to the Google Groups "as3-commons-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to as3-commons-devel...@googlegroups.com.
To post to this group, send email to as3-commons...@googlegroups.com.
Visit this group at http://groups.google.com/group/as3-commons-developers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages