MyColorfulDays
MyColorfulDays
Hi, @ivan-sirosh A pull request has been added build wheel option #18, because of no bug to fix, no new version with wheel package has been released yet, I will...
I've checked and merged it, when the new version released, I will colse the issue. Thank you very much for your code,
@mahenzon Good suggestion. I think I can add a keyword argument to support other libs encoder, e.g.`dumps=json.dumps` , like this ```python formatter = JsonFormatter(dumps=json.dumps, *args, **kwargs) ```
@mahenzon Thank you and welcome to commit PR. I think it will be compatible with `dictConfig` but not verified yet. Can you do this work?
@toplove https://github.com/MyColorfulDays/jsonformatter/tree/v0.4.x#case-2-in-django In your project `settings.py` ```python LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'standard': { 'class': 'jsonformatter.JsonFormatter', 'format': OrderedDict([ ("Name", "name"), ("Levelno", "levelno"), ("Levelname", "levelname"), ("Pathname", "pathname"),...
@toplove Oh, the above answer is for version v0.4.X(not release yet), If you're using version v0.3.X, reference this https://github.com/MyColorfulDays/jsonformatter/issues/5#issuecomment-801268674 ```python LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'standard':...
Hi, @mahenzon I'm sorry for replying so late, but very happy and thank you for the PR. I have a question, dose the signature of other libs same as python...
@lucienfregosi Becasue of `logging.config.fileConfig` not support `formatter` args or kwargs, you can choose one function: ```python import logging import os from logging.config import fileConfig def set_single_logger_mix_extra(): fileConfig(os.path.join(os.path.dirname(__file__), 'logger_config.ini')) logger_name =...
@FlorianHall Yes, this requirment can be implemented by `dict config`. The `format` keyword argument in `dict config` is already supported in next version v0.4.0(not release yet), so in `v0.3.x`, the...
Hi, @xiang1030 The `record_custom_attrs` can't define in yaml/json cofig file. Beacause the `value` of `record_custom_attrs` is a python `function`, the `value` of yaml/json can't define python `function`. The suggestion is...