Skip to content

Commit

Permalink
Brush up docs for send_log method (DataDog#18188)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakur authored Aug 5, 2024
1 parent 25f4448 commit de756fe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions datadog_checks_base/datadog_checks/base/checks/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,12 +1000,13 @@ def send_log(self, data, cursor=None, stream='default'):
Parameters:
data (dict[str, str]):
the log data to send.
The log data to send.
cursor (dict[str, Any] or None):
metadata associated with the log which will be saved to disk. the most recent value may be
Metadata associated with the log which will be saved to disk. The most recent value may be
retrieved with the `get_log_cursor` method.
stream (str):
the stream associated with this log, used for accurate cursor persistence.
The stream associated with this log, used for accurate cursor persistence.
Has no effect if `cursor` argument is `None`.
"""
attributes = data.copy()
if 'ddtags' not in attributes and self.formatted_tags:
Expand Down

0 comments on commit de756fe

Please sign in to comment.