lib/legion/logging.rb in legion-logging-0.3.1 vs lib/legion/logging.rb in legion-logging-1.0.0
- old
+ new
@@ -11,9 +11,13 @@
class << self
include Legion::Logging::Methods
include Legion::Logging::Builder
attr_reader :log, :color
+ def level
+ @log.level
+ end
+
def setup(options = {})
output(options)
log_level(options[:level])
log_format(options)
@color = options[:color]