lib/semantic_logger/base.rb in semantic_logger-4.2.2 vs lib/semantic_logger/base.rb in semantic_logger-4.3.0
- old
+ new
@@ -134,10 +134,10 @@
log = Log.new(name, level)
return false unless meets_log_level?(log)
backtrace =
if thread == Thread.current
- Log.cleanse_backtrace
+ Utils.extract_backtrace
else
log.thread_name = thread.name
log.tags = (thread[:semantic_logger_tags] || []).clone
log.named_tags = (thread[:semantic_logger_named_tags] || {}).clone
thread.backtrace