Commit b8b32f7
committed
Fix some logging code failed to work and refine log format
As is in issue #18, this commit fixes some logging code failed to work.
That's because `Logger.<debug|info|warning|error>()` has a similar but
different parameter form from that of `print()`. The method of `Logger`
needs the positional arguments other than the first one to be contents
of the `%`-like templates in the first `str` argument, but that's very
different from `print()`'s behavior.
And this commit refines format of some logging code.1 parent f8b6c17 commit b8b32f7
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
| 264 | + | |
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
| |||
519 | 520 | | |
520 | 521 | | |
521 | 522 | | |
522 | | - | |
| 523 | + | |
523 | 524 | | |
524 | 525 | | |
525 | 526 | | |
| |||
530 | 531 | | |
531 | 532 | | |
532 | 533 | | |
533 | | - | |
534 | | - | |
| 534 | + | |
| 535 | + | |
535 | 536 | | |
536 | 537 | | |
537 | 538 | | |
| |||
0 commit comments