Class: HHotLogger
- Inherits:
-
Object
- Object
- HHotLogger
- Defined in:
- lib/hengine/hhotlogger.rb
Class Method Summary collapse
Class Method Details
.append(str, logName) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/hengine/hhotlogger.rb', line 3 def self.append(str, logName) log = hsd.value(logName) return unless log hsd.set(logName, log = {}) if log.class != Hash = Time.now.to_s log[] = [] unless log[] log[] << str end |