method

local_level=

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: LoggerThreadSafeLevel
local_level=(level) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/logger_thread_safe_level.rb, line 24
    def local_level=(level)
      case level
      when Integer
      when Symbol
        level = Logger::Severity.const_get(level.to_s.upcase)
      when nil
      else
        raise ArgumentError, "Invalid log level: #{level.inspect}"
      end
      IsolatedExecutionState[:logger_thread_safe_level] = level
    end
Register or log in to add new notes.