class SemanticLogger::Log
def to_h(host = SemanticLogger.host, application = SemanticLogger.application,
def to_h(host = SemanticLogger.host, application = SemanticLogger.application, environment = SemanticLogger.environment) logger = Struct.new(:host, :application, :environment).new(host, application, environment) SemanticLogger::Formatters::Raw.new.call(self, logger) end