require 'legion/logging/methods' require 'legion/logging/builder' module Legion module Logging class Logger attr_reader :log, :color include Legion::Logging::Methods include Legion::Logging::Builder def initialize(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