Method: ALib::Logging::LogMethods#log_err

Defined in:
lib/alib-0.5.1/logging.rb

#log_err(e) ⇒ Object



127
128
129
130
131
132
133
134
135
# File 'lib/alib-0.5.1/logging.rb', line 127

def log_err e
#--{{{
  if logger.debug?
    error{ errmsg e } 
  else
    error{ emsg e } 
  end
#--}}}
end