From 52645e67ac5a876c9c32755f368782a22b9db3a0 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Wed, 8 Feb 2017 00:00:40 +0100 Subject: [PATCH] Refer to Rackstash::SEVERITIES in Logger#add method docs only There is no explicit need to repeat the constants here. --- lib/rackstash/logger.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rackstash/logger.rb b/lib/rackstash/logger.rb index 6b5dec9..916c53c 100644 --- a/lib/rackstash/logger.rb +++ b/lib/rackstash/logger.rb @@ -213,8 +213,8 @@ module Rackstash # along with any previously defined fields and tags will be flushed to the # base logger immediately. # - # @param severity [Integer] The log severity. One of {DEBUG}, {INFO}, - # {WARN}, {ERROR}, {FATAL}, or {UNKNOWN}. + # @param severity [Integer] The log severity. One of the {SEVERITIES} + # consants. # @param msg [#to_s, Exception, nil] The log message. A `String` or # `Exception`. If unset, we try to use the return value of the optional # block.