console: suppress trace output for -final builds
This commit is contained in:
@@ -65,6 +65,11 @@ class NativeApplication {
|
||||
this.parent = parent;
|
||||
frameRate = 60;
|
||||
|
||||
#if (lime_console && final)
|
||||
// suppress traces in final builds
|
||||
haxe.Log.trace = function(v:Dynamic, ?infos:haxe.PosInfos) {};
|
||||
#end
|
||||
|
||||
AudioManager.init ();
|
||||
|
||||
#if (ios || android || tvos)
|
||||
|
||||
Reference in New Issue
Block a user