Unverified Commit a5d4c652 authored by Weiwen Chen's avatar Weiwen Chen Committed by GitHub
Browse files

add a return value in TextLoggerHook.log() (#1040)

I need this in a subclass, but I dont want copy the whole `log()` function
parent 6cb534b7
...@@ -176,3 +176,4 @@ class TextLoggerHook(LoggerHook): ...@@ -176,3 +176,4 @@ class TextLoggerHook(LoggerHook):
self._log_info(log_dict, runner) self._log_info(log_dict, runner)
self._dump_log(log_dict, runner) self._dump_log(log_dict, runner)
return log_dict
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment