Method: WeChat::Bot::Logger#initialize
- Defined in:
- lib/wechat/bot/logger.rb
#initialize(output, bot) ⇒ Logger
Returns a new instance of Logger.
16 17 18 19 20 21 |
# File 'lib/wechat/bot/logger.rb', line 16 def initialize(output, bot) @output = output @bot = bot @mutex = Mutex.new @level = :info end |