Improved Log system

This commit is contained in:
2023-03-20 01:15:07 +01:00
parent b0be0ba8b4
commit 84d437104d
2 changed files with 27 additions and 7 deletions

View File

@@ -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();