MasterJH5574 commented on code in PR #13006:
URL: https://github.com/apache/tvm/pull/13006#discussion_r992927437


##########
python/tvm/meta_schedule/logging.py:
##########
@@ -62,15 +62,15 @@ def get_logging_func(logger: Logger) -> 
Optional[Callable[[int, str], None]]:
         # logging.FATAL not included
     }
 
-    def logging_func(level: int, msg: str):
-        if level < 0:
+    def logging_func(level: int, file: str, lineo: int, msg: str):

Review Comment:
   Do you think `file_name` is a better name?
   ```suggestion
       def logging_func(level: int, file_name: str, lineo: int, msg: str):
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to