log debug only with debug flag
This commit is contained in:
parent
60b369fe27
commit
47c38ac731
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user