jsonformatter
jsonformatter copied to clipboard
jsonformatter is a formatter for python easily output custom json log, e.g. output LogStash needed log
> DEPRECATION: jsonformatter is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce...
Right now builtin json lib is used: https://github.com/MyColorfulDays/jsonformatter/blob/a5561e58de0857766d8cd10729ebe261f9fe8296/jsonformatter/jsonformatter.py#L12 https://github.com/MyColorfulDays/jsonformatter/blob/a5561e58de0857766d8cd10729ebe261f9fe8296/jsonformatter/jsonformatter.py#L165 https://github.com/MyColorfulDays/jsonformatter/blob/a5561e58de0857766d8cd10729ebe261f9fe8296/jsonformatter/jsonformatter.py#L427 But there're other libs that are faster, for example orjson, ujson, rapidjson, simplejson.. and more. It'll be cool to have...
Hi thanks for your work on that log formatter. I want to use it through an ini file but I also want to add some extra param like `root.info('test file...