lib/semantic_logger/base.rb in semantic_logger-2.8.0 vs lib/semantic_logger/base.rb in semantic_logger-2.9.0

- old
+ new

@@ -16,11 +16,11 @@ # Note: This level is only for this particular instance. It does not override # the log level in any logging instance or the default log level # SemanticLogger.default_level # # Must be one of the values in SemanticLogger::LEVELS, or - # nil if this logger instance should use the global default log_level + # nil if this logger instance should use the global default level def level=(level) @level_index = SemanticLogger.level_to_index(level) @level = level end @@ -260,9 +260,12 @@ # tags # Any tags active on the thread when the log call was made # # level_index # Internal index of the log level + # + # exception + # Ruby Exception object to log # # metric [Object] # Object supplied when benchmark_x was called Log = Struct.new(:level, :thread_name, :name, :message, :payload, :time, :duration, :tags, :level_index, :exception, :metric)