diff options
author | Matthew Bloch <matthew@bytemark.co.uk> | 2014-11-06 01:02:24 +0000 |
---|---|---|
committer | Matthew Bloch <matthew@bytemark.co.uk> | 2014-11-06 01:02:24 +0000 |
commit | ff14be5554f348178051b4bf8f99b231ae9edcee (patch) | |
tree | 576d9ceda1e9a76fe5b4f4a5fa64e677d98ddc5a /lib | |
parent | 8a12e8e9d1a06c4b071a46966bd43c44c8136faa (diff) |
Fixed typo in Syslog invocation.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/byteback/log.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/byteback/log.rb b/lib/byteback/log.rb index 66b86ef..247d562 100644 --- a/lib/byteback/log.rb +++ b/lib/byteback/log.rb @@ -9,7 +9,7 @@ module Byteback class << self def debug(*a); Syslog.log(Syslog::LOG_DEBUG, *a); end def info(*a); Syslog.log(Syslog::LOG_INFO, *a); end - def warn(*a); Syslog.log(Syslog::LOG_WARN, *a); end + def warn(*a); Syslog.log(Syslog::LOG_WARNING, *a); end def error(*a); Syslog.log(Syslog::LOG_ERR, *a); end def fatal(*a); Syslog.log(Syslog::LOG_EMERG, *a); end end |