class TraceView::Logger
Public Instance Methods
debug(msg, exception = nil)
click to toggle source
Debug message
# File lib/traceview/logger.rb, line 33 def debug(msg, exception = nil) TraceView.logger.debug(string) if TraceView.logger end
error(msg, exception = nil)
click to toggle source
Error message
# File lib/traceview/logger.rb, line 18 def error(msg, exception = nil) TraceView.logger.error(string) if TraceView.logger end
fatal(string, exception = nil)
click to toggle source
Fatal message
# File lib/traceview/logger.rb, line 13 def fatal(string, exception = nil) TraceView.logger.fatal(string) if TraceView.logger end
info(msg, exception = nil)
click to toggle source
Info message
# File lib/traceview/logger.rb, line 28 def info(msg, exception = nil) TraceView.logger.info(string) if TraceView.logger end
warn(msg, exception = nil)
click to toggle source
Warn message
# File lib/traceview/logger.rb, line 23 def warn(msg, exception = nil) TraceView.logger.warn(string) if TraceView.logger end