Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would be nice to be able to change format without subclassing #3

Open
jspalink opened this issue Jan 27, 2016 · 1 comment
Open

Would be nice to be able to change format without subclassing #3

jspalink opened this issue Jan 27, 2016 · 1 comment
Assignees

Comments

@jspalink
Copy link

Python does this really well:
https://docs.python.org/2/library/logging.html#formatter-objects

It would be nice to be able to change the output format of the logger without having to create a subclass of the LogFormatter, which really looks like its geared to providing output that is significantly different - e.g. the Json example in the test case. But, for example, changing the default output to just the message as opposed to a date prefix doesn't seem like it should require writing a new class.

@frqnck
Copy link
Member

frqnck commented Feb 2, 2016

I did work on that aspect many months ago. Never got round to releasing it.

I will try to set some time to do just that! Bear with me.

@frqnck frqnck self-assigned this Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants