Class: NeuroHmmerApp::Logger

Inherits:
Logger
  • Object
show all
Defined in:
lib/neurohmmerapp/logger.rb

Defined Under Namespace

Classes: Formatter

Instance Method Summary collapse

Constructor Details

#initialize(dev, verbose = false) ⇒ Logger

Returns a new instance of Logger.



5
6
7
8
9
# File 'lib/neurohmmerapp/logger.rb', line 5

def initialize(dev, verbose = false)
  super dev
  self.level     = verbose ? DEBUG : INFO
  self.formatter = Formatter.new
end