python_wiki:logging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
python_wiki:logging [2018/07/09 00:04]
billdozor created
python_wiki:logging [2019/05/25 23:50] (current)
Line 13: Line 13:
 ./logging_example.py ./logging_example.py
 </code> </code>
 +
 +\\
 +Displayed on the console<code bash>CRITICAL Urgent message! Display in log AND console.</code>
 +
 +\\
 +Written to log file<code bash>[2018-07-08 23:05:53,148] INFO [__main__:50] Testing info level message.
 +[2018-07-08 23:05:53,149] CRITICAL [__main__:51] Urgent message! Display in log AND console.</code>
  
 ---- ----
  • python_wiki/logging.1531109093.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)