Module: SlackRubyBot::Loggable::ClassMethods
- Defined in:
- lib/slack-ruby-bot/support/loggable.rb
Instance Method Summary collapse
Instance Method Details
#logger ⇒ Object
11 12 13 14 15 16 |
# File 'lib/slack-ruby-bot/support/loggable.rb', line 11 def logger @logger ||= SlackRubyBot::Config.logger || begin $stdout.sync = true Logger.new($stdout) end end |