Oh hey, when I de-flexed our Log class I forgot that the flex version

had the capability to add targets (with their own module / log-level).
Add back in this capability, in very simple form for now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4584 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2007-02-17 03:03:41 +00:00
parent a22bcfeb42
commit 1b774f3f15
2 changed files with 46 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package com.threerings.util {
/**
* A very simple Logging interface.
* Used with the top-level class QUOTE in this package ENDQUOTE...
* (it's actually up above 'com', so it never needs importing...)
*/
public interface LogTarget
{
/**
* Log the specified message, which is already fully formatted.
*/
function log (msg :String) :void;
}
}