Module: Myxy::Log
- Defined in:
- lib/myxy/log.rb
Class Method Summary collapse
Class Method Details
.error(msg) ⇒ Object
13 14 15 |
# File 'lib/myxy/log.rb', line 13 def self.error(msg) logger.error(msg) end |
.info(msg) ⇒ Object
9 10 11 |
# File 'lib/myxy/log.rb', line 9 def self.info(msg) logger.info(msg) end |
.logger ⇒ Object
5 6 7 |
# File 'lib/myxy/log.rb', line 5 def self.logger Logger.new('./tmp/errors.log', 'daily') end |