lib/semantic_logger/base.rb in semantic_logger-4.5.0 vs lib/semantic_logger/base.rb in semantic_logger-4.6.0.beta1
- old
+ new
@@ -231,24 +231,12 @@
# :nodoc:
def silence(new_level = :error, &block)
SemanticLogger.silence(new_level, &block)
end
- # Deprecated. Use `SemanticLogger.tagged`
+ # :nodoc:
def fast_tag(tag, &block)
SemanticLogger.fast_tag(tag, &block)
- end
-
- # :nodoc:
- def with_payload(payload, &block)
- warn '#with_payload is deprecated, use SemanticLogger.named_tagged'
- SemanticLogger.named_tagged(payload, &block)
- end
-
- # :nodoc:
- def payload
- warn '#payload is deprecated, use SemanticLogger.named_tags'
- SemanticLogger.named_tags
end
# Write log data to underlying data storage
def log(_log_)
raise NotImplementedError, 'Logging Appender must implement #log(log)'