Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 70d68cb

Browse files
quasipediaEvaSDK
authored andcommitted
Update README to proper use of FluentRecordFormatter
1 parent 8cd0068 commit 70d68cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ This client-library also has FluentHandler class for Python logging module.
6969

7070
logging.basicConfig(level=logging.INFO)
7171
l = logging.getLogger('fluent.test')
72-
l.addHandler(handler.FluentHandler('app.follow', host='host', port=24224))
72+
h = handler.FluentHandler('app.follow', host='host', port=24224)
73+
h.setFormatter(handler.FluentRecordFormatter())
74+
l.addHandler(h)
7375
l.info({
7476
'from': 'userA',
7577
'to': 'userB'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /