Improved Log system
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package kernel;
|
||||
|
||||
import kernel.log.Log;
|
||||
import kernel.turtle.Turtle;
|
||||
import haxe.MainLoop;
|
||||
import kernel.net.Routing;
|
||||
@@ -12,6 +13,7 @@ import kernel.net.Net;
|
||||
class Init {
|
||||
public static function initKernel() {
|
||||
// Init singeltons here because haxe is confused about the order to create them.
|
||||
Log.instance = new Log();
|
||||
KernelEvents.instance = new KernelEvents();
|
||||
Peripheral.instance = new Peripheral();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user