class Nightwing::Logger
Public Instance Methods
debug(msg)
click to toggle source
# File lib/nightwing/logger.rb, line 3 def debug(msg) print :debug, msg end
info(msg)
click to toggle source
# File lib/nightwing/logger.rb, line 7 def info(msg) print :info, msg end
warn(msg)
click to toggle source
# File lib/nightwing/logger.rb, line 11 def warn(msg) print :warn, msg end
Private Instance Methods
print(level, msg)
click to toggle source
# File lib/nightwing/logger.rb, line 17 def print(level, msg) puts "#{Time.now} nightwing.#{level}: #{msg}" end