消息 [82360]
Isn't there a backward compatibility problem? If a message format string
contains both "%s" and "{0}", how is logging supposed to know what to
use - a % b or a.format(b)?
The way to do it is a custom Formatter, as you've indicated. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2009-02-17 19:29:58 | vinay.sajip | 修改 | recipients:
+ vinay.sajip, LambertDW |
| 2009-02-17 19:29:58 | vinay.sajip | 修改 | messageid: <1234898998.09.0.979280104421.issue5192@psf.upfronthosting.co.za> |
| 2009-02-17 19:29:56 | vinay.sajip | 链接 | issue5192 messages |
| 2009-02-17 19:29:55 | vinay.sajip | 创建 | |
|