| Class | ActiveSupport::BufferedLogger |
| In: |
lib/active_support/buffered_logger.rb
|
| Parent: | Object |
Inspired by the buffered logger idea by Ezra
| MAX_BUFFER_SIZE | = | 1000 |
| auto_flushing | [R] | |
| buffer | [R] | |
| level | [RW] |
Set the auto-flush period. Set to true to flush after every log message, to an integer to flush every N messages, or to false, nil, or zero to never auto-flush. If you turn auto-flushing off, be sure to regularly flush the log yourself — it will eat up memory until you do.