1 # SPDX-License-Identifier: MIT
10 logger
= logging
.getLogger('hello-logger')
13 logger
.debug('hello, debug message: %d', 23)
15 logger
.info('hello, info message: %s', 'world')
17 logger
.warn('hello, warn message')
19 logger
.error('hello, error message: %f', math
.pi
)
21 logger
.critical('hello, critical message')
25 if __name__
== '__main__':
This page took 0.030339 seconds and 4 git commands to generate.