class Twitch::Bot::Logger
Public Class Methods
debug(entry)
click to toggle source
# File lib/twitch/bot/logger.rb, line 14 def self.debug(entry) logger.debug entry end
level=(level)
click to toggle source
# File lib/twitch/bot/logger.rb, line 10 def self.level=(level) @logger.level = level end
logger()
click to toggle source
# File lib/twitch/bot/logger.rb, line 18 def self.logger @logger ||= ::Logger.new(STDOUT) end
output=(file)
click to toggle source
# File lib/twitch/bot/logger.rb, line 6 def self.output=(file) @logger = ::Logger.new(file) end