Class: Ig3tool::Logger
- Inherits:
-
Object
- Object
- Ig3tool::Logger
- Defined in:
- lib/log.rb
Class Method Summary collapse
Class Method Details
.log(system, subsystem, message) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/log.rb', line 16 def self.log(system, subsystem, ) LogEntry.create(:system => system.to_s, :timestamp => Time.now.to_i, :subsystem => subsystem.to_s, :message => .to_s) end |