idk routing stuff i guess
This commit is contained in:
@@ -4,9 +4,10 @@ import kernel.ui.WindowContext;
|
||||
import kernel.ui.WindowManager;
|
||||
import lib.TermWriteable;
|
||||
import lib.TermIO;
|
||||
#if webconsole
|
||||
import kernel.net.Net;
|
||||
import util.Debug;
|
||||
|
||||
#end
|
||||
/**
|
||||
Log messages to specified output.
|
||||
**/
|
||||
@@ -14,6 +15,9 @@ class Log {
|
||||
private static var context:WindowContext;
|
||||
private static var writer:TermIO;
|
||||
|
||||
/**
|
||||
Depends on: WindowManager
|
||||
**/
|
||||
@:allow(kernel.Init)
|
||||
private static function init() {
|
||||
Log.context = WindowManager.instance.createNewContext();
|
||||
|
||||
Reference in New Issue
Block a user