lib/semantic_logger/log.rb in semantic_logger-4.5.0 vs lib/semantic_logger/log.rb in semantic_logger-4.6.0.beta1

- old
+ new

@@ -277,25 +277,9 @@ # Returns [true|false] whether the log entry has a payload def payload? !(payload.nil? || (payload.respond_to?(:empty?) && payload.empty?)) end - # DEPRECATED - alias has_payload? payload? - - # DEPRECATED - def formatted_time - time.strftime(Formatters::Base.build_time_format) - end - - DeprecatedLogger = Struct.new(:host, :application) - - # DEPRECATED: Use SemanticLogger::Formatters::Raw - def to_h(host = SemanticLogger.host, application = SemanticLogger.application) - logger = DeprecatedLogger.new(host, application) - SemanticLogger::Formatters::Raw.new.call(self, logger) - end - # Lazy initializes the context hash and assigns a key value pair. def set_context(key, value) (self.context ||= {})[key] = value end