Class | Log4r::BasicFormatter |
In: |
lib/log4r/formatter/formatter.rb
|
Parent: | SimpleFormatter |
BasicFormatter produces output like this:
WARN loggername: I dropped my Wookie!
Or like this if trace is on:
WARN loggername(file.rb at 12): Hot potato!
Also, it will pretty-print any Exception it gets and inspect everything else.
Hash arguments include:
depth: | How many lines of the stacktrace to display. |