Created
December 1, 2014 04:42
-
-
Save sowamazing/90dcd4e4cc3660a9c1ce to your computer and use it in GitHub Desktop.
Built-in Logging 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logger.formatter = proc do |severity, datetime, progname, msg| | |
"#{datetime}: #{msg}\n" | |
end | |
# e.g. "2005-09-22 08:51:08 +0900: hello world" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment