8000 Make FluentRecordFormatter python 3.2 logging.Formatter compatible. f… · dotlambda/fluent-logger-python@e5dca29 · GitHub
[go: up one dir, main page]

Skip to content

Commit e5dca29

Browse files
committed
Make FluentRecordFormatter python 3.2 logging.Formatter compatible. fix fluent#63
1 parent c5f2493 commit e5dca29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluent/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FluentRecordFormatter(logging.Formatter, object):
2424
2525
:param fmt: a dict with format string as values to map to provided keys.
2626
"""
27-
def __init__(self, fmt=None, datefmt=None):
27+
def __init__(self, fmt=None, datefmt=None, style='%'):
2828
super(FluentRecordFormatter, self).__init__(None, datefmt)
2929

3030
if not fmt:

0 commit comments

Comments
 (0)
0