class GitCommander::Logger::SimpleFormatter
Simple formatter which only displays the message.
Public Instance Methods
call(severity, _timestamp, _progname, msg)
click to toggle source
This method is invoked when a log event occurs
# File lib/git_commander/logger.rb, line 20 def call(severity, _timestamp, _progname, msg) "#{severity}: #{String === msg ? msg : msg.inspect}\n" end