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.



47
48
49
50
# File 'lib/grifork/config.rb', line 47

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

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



45
46
47
# File 'lib/grifork/config.rb', line 45

def file
  @file
end