3 4 5 6 7 8
# File 'lib/eye/controller/options.rb', line 3 def set_opt_logger(logger_args) # do not apply logger, if in stdout state unless %w[stdout stderr].include?(Eye::Logger.dev) Eye::Logger.link_logger(*logger_args) end end
10 11 12
# File 'lib/eye/controller/options.rb', line 10 def set_opt_logger_level(level) Eye::Logger.log_level = level end