aboutsummaryrefslogtreecommitdiff
path: root/examples/example2/main.py
blob: 12b8343ba677f23e1b1ec91ec6b91a22ae76a0f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import logging
import sys

import library1

logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
logger = logging.getLogger(__name__)

# Uncomment below to mute Library1's debug
# logging.getLogger("library1").setLevel(logging.INFO)
library1.foo()

logger.debug("Main File")