Sha256: f294ea19e2c6cebe883162159b89e6652a82a3b552325d9d6521db9c13ab7b8a
Contents?: true
Size: 379 Bytes
Versions: 9
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true module Twitch module Bot class Logger def self.output=(file) @logger = ::Logger.new(file) end def self.level=(level) @logger.level = level end def self.debug(entry) logger.debug entry end def self.logger @logger ||= ::Logger.new(STDOUT) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems