mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
playing with logging
This commit is contained in:
11
python/testing/logging/bar.py
Normal file
11
python/testing/logging/bar.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""Bar."""
|
||||
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def bar() -> None:
|
||||
"""Bar."""
|
||||
logger.debug(f"bar {__name__}")
|
||||
logger.debug("bar")
|
||||
Reference in New Issue
Block a user