Created
May 8, 2012 16:25
-
-
Save cyberswat/2636955 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dirty ruby syslog | |
def log(msg) | |
Syslog.open($0, Syslog::LOG_PID | Syslog::LOG_CONS) { |s| s.warning "#{msg}" } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment