I would like to have a unified approach to logging for haxe, since
"trace" has caused many problems for me in the past, including
blocking Flash9 events (don't ask me how, but it did!)
It would be nice to add targets for flash and JS as well, with the
possibility of rerouting "trace" automatically, and optionally
redirecting to Firebug (which I use all the time)
Please feel free to contribute there. The File and Syslog work
perfectly right now on my machine. Anyone know what Windows has for a
command line to the system event log?
R
I've just added to /ext/system/log
EventLog.hx : The Interface for system logging
File.hx : Neko (Php & Lua?) file output logging
Syslog.hx : Interface to syslog (linux/freebsd/Mac, need help with
windows on this one)
I would like to have a unified approach to logging for haxe, since
"trace" has caused many problems for me in the past, including
blocking Flash9 events (don't ask me how, but it did!)
var l = new system.log.Syslog()
l.log("whatever")
Defaulting to the warning level? That's what you're saying... then
l.debug() would not trace anything, unless you specifically modify the
logLevel.
Russell
Defaulting to the warning level? That's what you're saying... then
l.debug() would not trace anything, unless you specifically modify the
logLevel.