8 logger
= logging
.getLogger('hello-logger')
11 logger
.debug('hello, debug message: %d', 23)
13 logger
.info('hello, info message: %s', 'world')
15 logger
.warn('hello, warn message')
17 logger
.error('hello, error message: %f', math
.pi
)
19 logger
.critical('hello, critical message')
23 if __name__
== '__main__':
This page took 0.038325 seconds and 4 git commands to generate.