Skip to content

Commit c6b72ec

Browse files
committed
Support msgpack_kwargs argument in FluentHandler. ref fluent#89
1 parent 3ef53c9 commit c6b72ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fluent/handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,15 @@ def __init__(self,
137137
timeout=3.0,
138138
verbose=False,
139139
buffer_overflow_handler=None,
140+
msgpack_kwargs=None,
140141
nanosecond_precision=False):
141142

142143
self.tag = tag
143144
self.sender = sender.FluentSender(tag,
144145
host=host, port=port,
145146
timeout=timeout, verbose=verbose,
146147
buffer_overflow_handler=buffer_overflow_handler,
148+
msgpack_kwargs=msgpack_kwargs,
147149
nanosecond_precision=nanosecond_precision)
148150
logging.Handler.__init__(self)
149151

0 commit comments

Comments
 (0)