diff --git a/src/kernel/Log.hx b/src/kernel/Log.hx index 601d69b..22b9be6 100644 --- a/src/kernel/Log.hx +++ b/src/kernel/Log.hx @@ -51,10 +51,12 @@ class Log { } public static function debug(msg:Dynamic, ?pos:haxe.PosInfos) { + #if debug writer.writeLn(logLine("DEBG",pos,msg), Gray); #if webconsole Debug.printWeb(logLine("DEBG",pos,msg)); #end + #end } public static function silly(msg:Dynamic, ?pos:haxe.PosInfos) {