Module: Cognizant::Log

Defined in:
lib/cognizant/log.rb

Class Method Summary collapse

Class Method Details

.[](name) ⇒ Object


9
10
11
# File 'lib/cognizant/log.rb', line 9

def self.[](name)
  self.logger[name]
end

.file(*args) ⇒ Object


21
22
23
# File 'lib/cognizant/log.rb', line 21

def self.file(*args)
  Logging.appenders.file(*args)
end

.loggerObject


5
6
7
# File 'lib/cognizant/log.rb', line 5

def self.logger
  Logging.logger
end

.stdoutObject


13
14
15
# File 'lib/cognizant/log.rb', line 13

def self.stdout
  Logging.appenders.stdout
end

.syslog(*args) ⇒ Object


17
18
19
# File 'lib/cognizant/log.rb', line 17

def self.syslog(*args)
  Logging.appenders.syslog(*args)
end