Sha256: b76afcde6a03d529a3ed4d71920a3223e51c0c11ce6bc881909eb96a4e6fdab7
Contents?: true
Size: 271 Bytes
Versions: 7
Compression:
Stored size: 271 Bytes
Contents
require 'json' module SemanticLogger module Formatters class Raw < Base # Returns log messages in Hash format def call(log, logger) log.to_h(log_host ? logger.host : nil, log_application ? logger.application : nil) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems