Skip to content

Commit

Permalink
Add docstring for configure_logging
Browse files Browse the repository at this point in the history
  • Loading branch information
fraimondo committed Dec 5, 2024
1 parent 4352b60 commit cfd654f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions junifer/utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@ def configure_logging(
e.g., ``"%(asctime)s - %(levelname)s - %(message)s"``.
If None, default string format is used
(default ``"%(asctime)s - %(name)s - %(levelname)s - %(message)s"``).
datalad_level : int or {"DEBUG", "INFO", "WARNING", "ERROR"}, optional
The level of the messages to print for datalad. If string, it will be
interpreted as elements of logging. If None, it will be set as the
``level`` parameter (default None).
"""
_close_handlers(logger) # close relevant logger handlers
Expand Down

0 comments on commit cfd654f

Please sign in to comment.