1
0
mirror of https://github.com/meineerde/rackstash.git synced 2026-02-06 09:03:22 +00:00

Refer to Rackstash::SEVERITIES in Logger#add method docs only

There is no explicit need to repeat the constants here.
This commit is contained in:
Holger Just 2017-02-08 00:00:40 +01:00
parent eea88db9a8
commit 52645e67ac

View File

@ -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.