Module: Log

Defined in:
lib/spigoter/log/log.rb

Overview

Module for logging all things, info warnings and errors.

Author:

Class Method Summary collapse

Class Method Details

.error(msg) ⇒ Object



36
37
38
# File 'lib/spigoter/log/log.rb', line 36

def self.error(msg)
  @log.error msg
end

.info(msg) ⇒ Object



28
29
30
# File 'lib/spigoter/log/log.rb', line 28

def self.info(msg)
  @log.info msg
end

.warn(msg) ⇒ Object



32
33
34
# File 'lib/spigoter/log/log.rb', line 32

def self.warn(msg)
  @log.warn msg
end