Skip to content

Commit 591a337

Browse files
committed
Setup logger
1 parent 10f864a commit 591a337

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/config.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@
66
"""
77

88
# %%
9-
# Import
9+
# Preamble
10+
11+
import logging
1012

1113
from pyprojroot import here
1214

15+
# logging.basicConfig(level=logging.INFO)
16+
17+
logger = logging.getLogger(__name__)
18+
1319
# %%
1420
# Paths
1521

1622
PROJ_ROOT = here()
23+
24+
logger.info(f"PROJ_ROOT path is: {PROJ_ROOT}")
25+
1726
DATA_DIR = PROJ_ROOT / "data"
1827
RES_DIR = PROJ_ROOT / "results"

0 commit comments

Comments
 (0)