require 'legion/logging/version' require 'legion/logging/logger' require 'legion/logging/methods' require 'legion/logging/builder' require 'logger' require 'rainbow' module Legion module Logging 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] @color = true if options[:color].nil? && options[:log_file].nil? end end end end