Method: Log.error

Defined in:
lib/log.rb

.error(msg) ⇒ Object

Log error massages



131
132
133
134
135
# File 'lib/log.rb', line 131

def Log.error(msg)
  Log.init if @log4r.nil?
  @log4r.error(msg_with_caller(msg))
  Log.flush if Params['log_flush_each_message']
end