Class: Java::IoDropwizardLogging::FileAppenderFactory
- Inherits:
-
Object
- Object
- Java::IoDropwizardLogging::FileAppenderFactory
- Extended by:
- Leafy::Logger::AppenderFactory::ClassMethods
- Includes:
- Leafy::Logger::AppenderFactory
- Defined in:
- lib/leafy/logger/appender_factories.rb
Instance Method Summary collapse
-
#initialize(file = nil) ⇒ FileAppenderFactory
constructor
A new instance of FileAppenderFactory.
Methods included from Leafy::Logger::AppenderFactory::ClassMethods
Methods included from Leafy::Logger::AppenderFactory
#attributes, #threshold, #threshold=
Constructor Details
#initialize(file = nil) ⇒ FileAppenderFactory
Returns a new instance of FileAppenderFactory.
36 37 38 39 40 41 42 |
# File 'lib/leafy/logger/appender_factories.rb', line 36 def initialize( file = nil ) super() if file self.current_log_filename = file self.archive = false end end |