Class: Grifork::Config::Log

Inherits:
Object
  • Object
show all
Defined in:
lib/grifork/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Log

Returns a new instance of Log.



18
19
20
21
# File 'lib/grifork/config.rb', line 18

def initialize(args)
  @file  = args[:file]
  @level = args[:level] || 'info'
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



16
17
18
# File 'lib/grifork/config.rb', line 16

def file
  @file
end