Class: Everything::Logger::Error

Inherits:
Base
  • Object
show all
Defined in:
lib/everything/logger/error.rb

Constant Summary

Constants inherited from Base

Base::DATETIME_PROGNAME_MESSAGE_FORMATTER

Instance Method Summary collapse

Constructor Details

#initialize(logdev, progname: nil) ⇒ Error

Returns a new instance of Error.



4
5
6
7
# File 'lib/everything/logger/error.rb', line 4

def initialize(logdev, progname: nil)
  super
  self.level = ::Logger::ERROR
end