Class: QuakeLogParser::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/quake-log-parser/logger.rb

Constant Summary collapse

@@logger =
::Logger.new($stdout)

Class Method Summary collapse

Class Method Details

.log(message) ⇒ Object



15
16
17
# File 'lib/quake-log-parser/logger.rb', line 15

def self.log(message)
  @@logger.info(message)
end

.loggerObject



7
8
9
# File 'lib/quake-log-parser/logger.rb', line 7

def self.logger
  @@logger
end

.logger=(logger) ⇒ Object



11
12
13
# File 'lib/quake-log-parser/logger.rb', line 11

def self.logger=(logger)
  @@logger = logger
end