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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user