Module: LogHelper
- Included in:
- WatchJob
- Defined in:
- lib/file_watcher/log_helper.rb
Instance Method Summary collapse
Instance Method Details
#log(msg, level = 'info') ⇒ Object
5 6 7 |
# File 'lib/file_watcher/log_helper.rb', line 5 def log msg, level='info' $Logger.send( level, msg ) end |