Class: ActiveLogger::Appenders::File

Inherits:
ActiveSupport::Logger
  • Object
show all
Includes:
Base
Defined in:
lib/active_logger/appenders/file.rb

Overview

:nodoc:

Defined Under Namespace

Classes: FilenameNotSpecified

Instance Method Summary collapse

Methods included from Base

#default_formatter

Constructor Details

#initialize(options) ⇒ File

Returns a new instance of File.



10
11
12
13
14
# File 'lib/active_logger/appenders/file.rb', line 10

def initialize(options)
  raise FilenameNotSpecified if options[:filename].nil?

  super(options[:filename], options[:keep], options[:size])
end