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

I need this in a subclass, but I dont want copy the whole `log()` function
pull/1103/head
Weiwen Chen 2021-06-14 21:21:29 +08:00 committed by GitHub
parent 6cb534b775
commit a5d4c6528f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -176,3 +176,4 @@ class TextLoggerHook(LoggerHook):
self._log_info(log_dict, runner)
self._dump_log(log_dict, runner)
return log_dict