From b46f3dcb5b5feff20305c9d7b9d5413381f8faa7 Mon Sep 17 00:00:00 2001 From: Matt Broadway Date: Fri, 15 Nov 2024 22:47:11 +0000 Subject: [PATCH] include timestamps in the suggested log format (#2304) --- guide/src/import_hook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/import_hook.md b/guide/src/import_hook.md index 866953342..d8752818c 100644 --- a/guide/src/import_hook.md +++ b/guide/src/import_hook.md @@ -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()