Skip to content

Commit dde5ca7

Browse files
committed
Example renamed to match repo name
1 parent 6355873 commit dde5ca7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/logging_simpletest.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#pylint:disable=undefined-variable,wildcard-import,no-name-in-module
2+
#pylint:disable=no-member
3+
4+
import adafruit_logging as logging
5+
6+
logger = logging.getLogger('test')
7+
8+
logger.setLevel(logging.ERROR)
9+
logger.info('Info message')
10+
logger.error('Error message')

0 commit comments

Comments
 (0)