fluent / fluent-logger-python

A structured logger for Fluentd (Python)
http://fluentd.org/
Other
444 stars 138 forks source link

An unexpected keyword argument 'nanosecond_precision' #194

Open robinwkurtz opened 1 year ago

robinwkurtz commented 1 year ago

Hello! I am running into a type error when using the nanosecond_precision argument on FluentSender

        self.logger = sender.FluentSender(
            _TOP_LEVEL_FLUTEND_TAG,
            host=os.getenv('FLUTEND_HOST', '0.0.0.0'),
            port=os.getenv('FLUENTD_PORT', 24224),
            nanosecond_precision=True # TODO: This currently throws an error 
        )
TypeError: __init__() got an unexpected keyword argument 'nanosecond_precision'

Python 3.9.15

[[package]]
name = "fluent-logger"
version = "0.10.0"
description = "A Python logging handler for Fluentd event collector"
category = "main"
optional = false
python-versions = ">=3.5"

Thanks!