Fix Log build
This commit is contained in:
@@ -106,15 +106,16 @@ class Log {
|
|||||||
var args = Sys.args ();
|
var args = Sys.args ();
|
||||||
if (args.indexOf ("-v") > -1 || args.indexOf ("-verbose") > -1) {
|
if (args.indexOf ("-v") > -1 || args.indexOf ("-verbose") > -1) {
|
||||||
level = VERBOSE;
|
level = VERBOSE;
|
||||||
return;
|
} else
|
||||||
|
#end
|
||||||
|
{
|
||||||
|
#if debug
|
||||||
|
level = DEBUG;
|
||||||
|
#else
|
||||||
|
level = INFO;
|
||||||
|
#end
|
||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
#if debug
|
|
||||||
level = DEBUG;
|
|
||||||
#else
|
|
||||||
level = INFO;
|
|
||||||
#end
|
|
||||||
#end
|
|
||||||
|
|
||||||
#if js
|
#if js
|
||||||
if (untyped __js__("typeof console") == "undefined") {
|
if (untyped __js__("typeof console") == "undefined") {
|
||||||
|
|||||||
Reference in New Issue
Block a user