From 81f10379aa6de8da03ea9553d54252435a48dbea Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Wed, 16 Oct 2019 10:36:14 -0600 Subject: Initial commit --- examples/example2/library1.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/example2/library1.py (limited to 'examples/example2/library1.py') 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() -- cgit v1.2.3