lib/legion/logging/logger.rb in legion-logging-1.0.0 vs lib/legion/logging/logger.rb in legion-logging-1.1.0
- old
+ new
@@ -3,9 +3,10 @@
module Legion
module Logging
class Logger
attr_accessor :log, :color, :level, :lex, :log_file, :trace_enabled, :extended
+
include Legion::Logging::Methods
include Legion::Logging::Builder
def initialize(level: 'info', log_file: nil, lex: nil, trace: false, extended: false, trace_size: 4, **opts) # rubocop:disable Metrics/ParameterLists
output(logfile: log_file)