Skip to content

Commit

Permalink
Merge pull request #38 from VuokkoVuorinnen/patch-1
Browse files Browse the repository at this point in the history
Update syslogger.rb
  • Loading branch information
n-rodriguez authored May 1, 2017
2 parents 367fe49 + 24c9813 commit 6149ce2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/syslogger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ def write(msg)
def <<(msg)
add(Logger::INFO, msg)
end

def puts(msg)
add(Logger::INFO, msg)
end

# Low level method to add a message.
# +severity+:: the level of the message. One of Logger::DEBUG, Logger::INFO, Logger::WARN, Logger::ERROR, Logger::FATAL, Logger::UNKNOWN
Expand Down

0 comments on commit 6149ce2

Please sign in to comment.