lib/semantic_logger/logger.rb in semantic_logger-0.5.1 vs lib/semantic_logger/logger.rb in semantic_logger-0.5.2
- old
+ new
@@ -293,10 +293,10 @@
def self.thread_name
Java::java.lang::Thread.current_thread.name
end
else
def self.thread_name
- Thread.object_id
+ Thread.current.object_id
end
end
# Verify and set the level
def set_level(level)