class SemanticLogger::Formatters::Short
Constants
- TAGS_TO_REMOVE
Public Instance Methods
Source
# File lib/semantic_logger/formatters/short.rb, line 8 def call(log, logger) self.log = log self.logger = logger [time, level, tags, named_tags, duration, message, payload, exception].compact.join(" ") end
Source
# File lib/semantic_logger/formatters/short.rb, line 15 def time log.time.strftime("%H:%M:%S") end