python:logging
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| python:logging [2021/08/06 07:31] – created utedass | python:logging [2022/09/12 00:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| <code python> | <code python> | ||
| import logging | import logging | ||
| + | </ | ||
| + | |||
| + | Logging with getLogger() ar arranged by names. getLogger(' | ||
| + | |||
| + | ===== To file ===== | ||
| + | |||
| + | <code python> | ||
| + | import logging | ||
| + | |||
| + | logging.basicConfig(filename=' | ||
| + | |||
| + | logging.debug(' | ||
| </ | </ | ||
python/logging.1628235089.txt.gz · Last modified: 2022/09/12 00:30 (external edit)
