You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rudionrails edited this page Mar 22, 2012
·
9 revisions
How To: Setting the Log Level
Like many other logging libraries, Yell allows you to define from which level onwards you want to write your log message.
logger=Yell.newSTDOUT,:level=>:infologger.debug"This is a :debug message"#=> nil logger.info"This is a :info message"#=> "2012-02-29T09:30:00+01:00 [ INFO] 65784 : This is a :info message"