Class Lumberjack::Device
In: lib/lumberjack/device/writer.rb
lib/lumberjack/device/log_file.rb
lib/lumberjack/device/null.rb
lib/lumberjack/device/date_rolling_log_file.rb
lib/lumberjack/device/size_rolling_log_file.rb
lib/lumberjack/device/rolling_log_file.rb
lib/lumberjack/device.rb
Parent: Object

This is an abstract class for logging devices. Subclasses must implement the write method and may implement the close and flush methods if applicable.

Methods

cleanup_files!   close   do_once   flush   write  

Classes and Modules

Class Lumberjack::Device::DateRollingLogFile
Class Lumberjack::Device::LogFile
Class Lumberjack::Device::Null
Class Lumberjack::Device::RollingLogFile
Class Lumberjack::Device::SizeRollingLogFile
Class Lumberjack::Device::Writer

Public Instance methods

Subclasses may implement this method to close the device.

Subclasses may implement this method to flush any buffers used by the device.

Subclasses must implement this method to write a LogEntry.

[Validate]