Module: BuergerBot::Logger

Defined in:
lib/buergerbot/bot/logger.rb

Overview

Logging utility for the bot.

Class Method Summary collapse

Class Method Details

.fail(message) ⇒ Object



14
15
16
# File 'lib/buergerbot/bot/logger.rb', line 14

def self.fail(message)
  puts "- #{message}"
end

.log(message) ⇒ Object



6
7
8
# File 'lib/buergerbot/bot/logger.rb', line 6

def self.log(message)
  puts "  #{message}"
end

.success(message) ⇒ Object



10
11
12
# File 'lib/buergerbot/bot/logger.rb', line 10

def self.success(message)
  puts "+ #{message}"
end