Class: Vapir::VapirLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/vapir-ie/logger.rb

Instance Method Summary collapse

Constructor Details

#initialize(filName, logsToKeep, maxLogSize) ⇒ VapirLogger

Returns a new instance of VapirLogger.



5
6
7
8
9
10
# File 'lib/vapir-ie/logger.rb', line 5

def initialize(filName, logsToKeep, maxLogSize)
  super(filName, logsToKeep, maxLogSize)
  self.level = Logger::DEBUG
  self.datetime_format = "%d-%b-%Y %H:%M:%S"
  self.debug("Vapir starting")
end