8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cde07a commit d08a557Copy full SHA for d08a557
fluent/handler.py
@@ -50,6 +50,14 @@ def format(self, record):
50
return data
51
52
def _structuring(self, data, msg):
53
+ """ Melds `msg` into `data`.
54
+
55
+ :param data: dictionary to be sent to fluent server
56
+ :param msg: :class:`LogRecord`'s message to add to `data`.
57
+ `msg` can be a simple string for backward compatibility with
58
+ :mod:`logging` framework, a JSON encoded string or a dictionary
59
+ that will be merged into dictionary generated in :meth:`format.
60
+ """
61
if isinstance(msg, dict):
62
self._add_dic(data, msg)
63
elif isinstance(msg, basestring):
0 commit comments