lib/semantic_logger/base.rb in semantic_logger-0.9.0 vs lib/semantic_logger/base.rb in semantic_logger-0.10.0
- old
+ new
@@ -197,10 +197,10 @@
self.level = level || self.class.default_level
end
# Write log data to underlying data storage
def log(log_)
- raise "Logging Appender must implement #log(log)"
+ raise NotImplementedError.new("Logging Appender must implement #log(log)")
end
# Return the level index for fast comparisons
attr_reader :level_index