lib/semantic_logger/base.rb in semantic_logger-4.0.0.beta1 vs lib/semantic_logger/base.rb in semantic_logger-4.0.0.beta2

- old
+ new

@@ -173,12 +173,12 @@ def fast_tag(tag, &block) SemanticLogger.fast_tag(tag, &block) end # :nodoc: - def with_payload(payload) + def with_payload(payload, &block) warn '#with_payload is deprecated, use SemanticLogger.named_tagged' - SemanticLogger.named_tagged(payload) + SemanticLogger.named_tagged(payload, &block) end # :nodoc: def payload warn '#payload is deprecated, use SemanticLogger.named_tags'