elasticdl
elasticdl copied to clipboard
Upgrade logger to support writing logs to both files and stdout/stderr at the same time.
In the current implementation, if we want to write the logging information to a file, we are using tee
command.
It's a recommended way to upgrade the logger to support flushing the logs to both file and stdout/stderr.
What if users use print
in their model codes?