mirror of https://github.com/python/cpython
Updated docstring for SysLogHandler (#1720726).
This commit is contained in:
parent
425c614b6e
commit
8c6ec81ac8
|
@ -578,7 +578,8 @@ class SysLogHandler(logging.Handler):
|
||||||
"""
|
"""
|
||||||
Initialize a handler.
|
Initialize a handler.
|
||||||
|
|
||||||
If address is specified as a string, UNIX socket is used.
|
If address is specified as a string, a UNIX socket is used. To log to a
|
||||||
|
local syslogd, "SysLogHandler(address="/dev/log")" can be used.
|
||||||
If facility is not specified, LOG_USER is used.
|
If facility is not specified, LOG_USER is used.
|
||||||
"""
|
"""
|
||||||
logging.Handler.__init__(self)
|
logging.Handler.__init__(self)
|
||||||
|
|
Loading…
Reference in New Issue