Class: BlackStack::DummyLogger

Inherits:
BaseLogger show all
Defined in:
lib/dummylogger.rb

Constant Summary

Constants inherited from BaseLogger

BaseLogger::METHODS, BaseLogger::METHOD_LOG, BaseLogger::METHOD_LOGF, BaseLogger::METHOD_LOGS

Instance Attribute Summary

Attributes inherited from BaseLogger

#current_nest_level, #filename, #nest_level, #number_of_lines_in_current_level

Instance Method Summary collapse

Methods inherited from BaseLogger

#done, #error, #initialize, #initialize_attributes, #no, #yes

Constructor Details

This class inherits a constructor from BlackStack::BaseLogger

Instance Method Details

#log(s, datetime = nil) ⇒ Object



11
12
# File 'lib/dummylogger.rb', line 11

def log(s, datetime=nil)
end

#logf(s, datetime = nil) ⇒ Object



19
20
# File 'lib/dummylogger.rb', line 19

def logf(s, datetime=nil)      
end

#logs(s, datetime = nil) ⇒ Object



15
16
# File 'lib/dummylogger.rb', line 15

def logs(s, datetime=nil)
end

#releaseObject



23
24
# File 'lib/dummylogger.rb', line 23

def release()
end

#resetObject

call the parent class to set the attributes call the save method to store the new attributes into the data file



7
8
9
# File 'lib/dummylogger.rb', line 7

def reset()
  super
end