Skip to content
This repository was archived by the owner on Apr 13, 2019. It is now read-only.
This repository was archived by the owner on Apr 13, 2019. It is now read-only.

Configure log_level from within configuration block #229

@TheNotary

Description

@TheNotary

Looks like when the logging system was upgraded, the ability to set the default log level was lost. It would be handy to be able to set the default log level (if you wanted it to be quiet for instance, to :fatal) from within the configuration block.

test_master_bot = Cinch::Bot.new do
    configure do |c|
      c.nick = "testc"
      c.server = "127.0.0.1"
      c.channels = [ENV['irc_channel']]
      # c.verbose = false # lost
      c.log_level = :fatal
    end
  end

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions