Explorar o código

Update Log.hx (#5371)

* Update Log.hx

Updated documentation. add types and remove awkward comment

* Update Log.hx

drop type
Mark Knol %!s(int64=9) %!d(string=hai) anos
pai
achega
e9b0a061cf
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      std/haxe/Log.hx

+ 3 - 1
std/haxe/Log.hx

@@ -35,7 +35,9 @@ class Log {
 
 		This method can be rebound to a custom function:
 			var oldTrace = haxe.Log.trace; // store old function
-			haxe.Log.trace = function(v,infos) { // handle trace }
+			haxe.Log.trace = function(v, ?infos) { 
+			  // handle trace 
+			}
 			...
 			haxe.Log.trace = oldTrace;