# File lib/mcollective/logger/syslog_logger.rb, line 42 def log(level, from, msg) Syslog.send(map_level(level), "#{from} #{msg}") rescue # if this fails we probably cant show the user output at all, # STDERR it as last resort STDERR.puts("#{level}: #{msg}") end