Message363731
There's no need for a method to do this. You can do any of:
1. Set the terminator attribute to whatever you need in logging.StreamHandler (if all code you ever use must use a different terminator).
2. Set it in individual instances of StreamHandler.
3. Set it in a subclass of StreamHandler which you then use instead of StreamHandler.
Since only a few cases will want a different terminator, there's no need to add a special mechanism to override it, when you can just use an assignment statement. |
|
Date |
User |
Action |
Args |
2020-03-09 13:58:49 | vinay.sajip | set | recipients:
+ vinay.sajip, wyz23x2 |
2020-03-09 13:58:49 | vinay.sajip | set | messageid: <1583762329.9.0.332661579204.issue39893@roundup.psfhosted.org> |
2020-03-09 13:58:49 | vinay.sajip | link | issue39893 messages |
2020-03-09 13:58:49 | vinay.sajip | create | |
|