class Evostream::Commands::SetLogLevel
Returns a detailed set of information about a stream.
Constants
- MANDATORY
Public Class Methods
new(commands = {})
click to toggle source
Calls superclass method
Evostream::Commands::Command::new
# File lib/evostream/event/commands/set_log_level.rb, line 9 def initialize(commands = {}) super(commands) end
Public Instance Methods
cmd()
click to toggle source
Calls superclass method
Evostream::Commands::Command#cmd
# File lib/evostream/event/commands/set_log_level.rb, line 13 def cmd super "setLogLevel?params=#{encode64}" end
Private Instance Methods
level(param = 'null')
click to toggle source
Change the log level for all log appenders. Default value in the system is set in the config.lua file, which is usually set to 6.
Log Levels:
0 - Fatal 1 - Error 2 - Warning 3 - Info 4 - Debug 5 - Fine 6 - Finest
# File lib/evostream/event/commands/set_log_level.rb, line 31 def level(param = 'null') "level=#{param}" end