소스 검색

Update Log.hx (#5371)

* Update Log.hx

Updated documentation. add types and remove awkward comment

* Update Log.hx

drop type
Mark Knol 9 년 전
부모
커밋
e9b0a061cf
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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;