lib/pliny/log.rb in pliny-0.24.0 vs lib/pliny/log.rb in pliny-0.25.0

- old
+ new

@@ -2,9 +2,13 @@ module Log def log(data, &block) log_to_stream(stdout || $stdout, merge_log_contexts(data), &block) end + def log_with_default_context(data, &block) + log_to_stream(stdout || $stdout, default_context.merge(data), &block) + end + def log_without_context(data, &block) log_to_stream(stdout || $stdout, data, &block) end def log_exception(e, data = {})