fluent / fluent/fluent-logger-python

An unexpected keyword argument 'nanosecond_precision'

Aperta
#194 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
457
Fork
138
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

```python
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
)
```

```bash
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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.