Sha256: 5c697e6bca5b681a4ae9c6876099527114e4167e23c3cf92a72d3030cf27f31f
Contents?: true
Size: 578 Bytes
Versions: 4
Compression:
Stored size: 578 Bytes
Contents
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 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
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
legion-logging-0.3.1 | lib/legion/logging.rb |
legion-logging-0.1.4 | lib/legion/logging.rb |
legion-logging-0.1.3 | lib/legion/logging.rb |
legion-logging-0.1.2 | lib/legion/logging.rb |