Module: Lokap::Metadata
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/lokap/metadata.rb
Instance Method Summary collapse
- #log_metadata(message, flush: true) ⇒ Object (also: #log_md)
Instance Method Details
#log_metadata(message, flush: true) ⇒ Object Also known as: log_md
15 16 17 18 19 20 21 |
# File 'lib/lokap/metadata.rb', line 15 def (, flush: true) Rails.logger.info("Metadata Log: #{}") = [Time.now.iso8601, ].join(': ') self.logs << save if flush end |