elastic / elastic/ecs-logging-python
Directly adding fields to json log when log has parameterized string
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 74
- Forks
- 33
- Merge medio
- 9 h 3 min
- PR fusionados (30 d)
- 1
Descripción
is something like this possible
example:
```
addItem='abcd'
logger.info(f"added todo item {addItem} to the todo list")
```
*note: or any way of adding parametrized string
log:
`{'name': 'app.routes.controller', 'msg': 'added todo item abcd to the todo list', 'args': (), 'levelname': 'INFO', 'levelno': 20, 'fields': {'addItem': 'abcd'}}`
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.