]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit
refactor: logger moved away from ircbot (exp.)
authorMatthias Hecker <mail@apoc.cc>
Tue, 31 Mar 2020 12:30:08 +0000 (14:30 +0200)
committerMatthias Hecker <mail@apoc.cc>
Tue, 31 Mar 2020 12:30:08 +0000 (14:30 +0200)
commitf092b7db45e01b459aa899e8c0d076b97c137c16
treedf6160249fe453fe74582d6d7d94bd9b1dc5cdb8
parentd93e93aec895f477ac6e46942ea8cb1c1084d95a
refactor: logger moved away from ircbot (exp.)

This moves the logger management thread/queue to a seperate singleton.
It removes the explicit stopping/restarting of the logging thread since
the thread should behave like a daemon thread anyway.
Still needs to be tested to work in daemonize.
bin/rbot
lib/rbot/ircbot.rb
lib/rbot/logger.rb [new file with mode: 0644]
lib/rbot/plugins.rb