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 8cd0068 commit 70d68cbCopy full SHA for 70d68cb
README.md
@@ -69,7 +69,9 @@ This client-library also has FluentHandler class for Python logging module.
69
70
logging.basicConfig(level=logging.INFO)
71
l = logging.getLogger('fluent.test')
72
- l.addHandler(handler.FluentHandler('app.follow', host='host', port=24224))
+ h = handler.FluentHandler('app.follow', host='host', port=24224)
73
+ h.setFormatter(handler.FluentRecordFormatter())
74
+ l.addHandler(h)
75
l.info({
76
'from': 'userA',
77
'to': 'userB'
0 commit comments