8000 gh-98307: Add docstring and documentation for SysLogHandler.createSocket (GH-98319) by vsajip · Pull Request #98319 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-98307: Add docstring and documentation for SysLogHandler.createSocket (GH-98319) #98319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 16, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improved phrasing and annotation added
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
vsajip and CAM-Gerlach authored Oct 16, 2022
commit cee3a76424fb67a1e8078d79a2bcdc9e62fa5f1f
8 changes: 6 additions & 2 deletions Doc/library/logging.handlers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,12 @@ supports sending logging messages to a remote or local Unix syslog.
to the other end. This method is called during handler initialization,
but it's not regarded as an error if the other end isn't listening at
this point - the method will be called again when emitting an event, if
there is no socket at that point.

but it's not regarded as an error if the other end isn't listening yet
--- the method will be called again when emitting an event,
if there is no socket at that point.

.. versionadded:: 3.11

.. method:: emit(record)

The record is formatted, and then sent to the syslog server. If exception
Expand Down
0