diff options
author | Cody Hiar <cody@hiar.ca> | 2019-10-16 10:36:14 -0600 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2019-10-16 10:36:14 -0600 |
commit | 81f10379aa6de8da03ea9553d54252435a48dbea (patch) | |
tree | c023c7f11d846bd6ab87c5946764dcf13f135e6c /examples/example2/library1.py |
Initial commit
Diffstat (limited to 'examples/example2/library1.py')
-rw-r--r-- | examples/example2/library1.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/example2/library1.py b/examples/example2/library1.py new file mode 100644 index 0000000..a47a6da --- /dev/null +++ b/examples/example2/library1.py @@ -0,0 +1,12 @@ +import logging +import sys + +logging.basicConfig(stream=sys.stdout, level=logging.DEBUG) +logger = logging.getLogger(__name__) + + +def foo(): + logger.debug("Library1") + +if __name__ == "__main__": + foo() |