| Class | Merb::Logger |
| In: |
lib/merb-core/logger.rb
|
| Parent: | Extlib::Logger |
| Levels | = | Mash.new({ :fatal => 7, :error => 6, :warn => 4, :info => 3, :debug => 0 | NotesRuby (standard) logger levels:
|
| auto_flush | [RW] | |
| buffer | [R] | |
| delimiter | [RW] | |
| init_args | [R] | |
| level | [RW] | |
| log | [R] |
Replaces an existing logger with a new one.
| log<IO, String>: | Either an IO object or a name of a logfile. |
| log_level<~to_sym>: | The log level from, e.g. :fatal or :info. Defaults to :error in the production environment and :debug otherwise. |
| delimiter<String>: | Delimiter to use between message sections. Defaults to " ~ ". |
| auto_flush<Boolean>: | Whether the log should automatically flush after new messages are added. Defaults to false. |