The default backend was printing the date and time before the message#39
The default backend was printing the date and time before the message#39jeffwilliams wants to merge 3 commits intoop:masterfrom
Conversation
This means that the default formatter was printing the date instead of just the message as documented, and setting a custom format for the default log would have the time prepended to the message.
|
I agree that it would make life easier to get rid of all the flags passed to the log module. But, I'd prefer to define a nicer default than only the message. |
|
Hmm, you're probably right. I've changed it so the default is now the date, time and the message. How does that look? |
|
Looks like that broke a bunch of tests. Let me look into it. |
|
Unit tests fixed. |
|
Sorry for the delay. Will need to think about this since this change breaks backwards compatibility. |
|
No problems! Let me know if you need anything from my side. On Tue, Nov 24, 2015 at 4:58 PM, Örjan Persson notifications@github.com
|
The default backend was printing the date and time before the message.
This means that the default formatter was printing the date instead of
just the message as documented, and setting a custom format for the
default log would have the time prepended to the message.
For example, this code:
Outputs these logs: