Class: MintLogger::LogPrefixElements
- Inherits:
-
Object
- Object
- MintLogger::LogPrefixElements
- Includes:
- Utils::Common
- Defined in:
- src/mintpress-logger/lib/mintpress-logger/log_prefix_elements.rb
Properties (Read/Write)
Properties (Read Only)
Instance Attribute Summary collapse
-
#date_format ⇒ Object
readonly
Returns the value of attribute date_format.
-
#elements ⇒ Object
readonly
Returns the value of attribute elements.
Class Method Summary collapse
- .date_format ⇒ Object
- .date_prefix ⇒ Object
- .default_prefix_elements ⇒ Object
- .progname_prefix ⇒ Object
- .severity_prefix ⇒ Object
Instance Method Summary collapse
-
#initialize(elements:, date_format: nil) ⇒ LogPrefixElements
constructor
A new instance of LogPrefixElements.
- #message_prefix(**log_formatter_values) ⇒ Object
Methods included from Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Constructor Details
#initialize(elements:, date_format: nil) ⇒ LogPrefixElements
Returns a new instance of LogPrefixElements.
Instance Attribute Details
#date_format ⇒ Object (readonly)
Returns the value of attribute date_format.
#elements ⇒ Object (readonly)
Returns the value of attribute elements.