Class: Philotic::Logging::Message
- Defined in:
- lib/philotic/logging/message.rb
Constant Summary
Constants inherited from Message
Instance Attribute Summary
Attributes inherited from Message
#connection, #delivery_info, #publish_error, #published
Instance Method Summary collapse
-
#initialize(severity, message = nil, progname = nil) ⇒ Message
constructor
A new instance of Message.
Methods inherited from Message
attr_payload, attr_payload_accessors, attr_routable, attr_routable_accessors, #attributes, #delivery_tag, #headers, inherited, #metadata, #metadata=, #payload, #publish, publish, #published?
Constructor Details
#initialize(severity, message = nil, progname = nil) ⇒ Message
Returns a new instance of Message.
9 10 11 12 13 14 15 |
# File 'lib/philotic/logging/message.rb', line 9 def initialize(severity, = nil, progname = nil) super({}) self.severity = severity self. = self.progname = progname end |