Skip to content

Commit

Permalink
include timestamps in the suggested log format (#2304)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbway authored Nov 15, 2024
1 parent b292ef6 commit b46f3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/import_hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ information from maturin.

```python
import logging
logging.basicConfig(format='%(name)s [%(levelname)s] %(message)s', level=logging.DEBUG)
logging.basicConfig(format='%(asctime)s %(name)s [%(levelname)s] %(message)s', level=logging.DEBUG)
import maturin_import_hook
maturin_import_hook.reset_logger()
maturin_import_hook.install()
Expand Down

0 comments on commit b46f3dc

Please sign in to comment.