fluent / fluent/fluent-logger-python

An unexpected keyword argument 'nanosecond_precision'

Ouverte
#194 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
457
Forks
138
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.