Difference between revisions of "Python logging"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
https://docs.python.org/3/library/logging.html
 
https://docs.python.org/3/library/logging.html
  
  <code>[[import]] logging</code>
+
  <code>[[import logging]]</code>
  
 
  [[logging.info]]
 
  [[logging.info]]
Line 13: Line 13:
 
== Examples ==
 
== Examples ==
  
  logger.info("TEXT")
+
  [[logger.]]info("TEXT")
 
  logger.warning("WARNING TEXT")
 
  logger.warning("WARNING TEXT")
 
  logger.info(" your text \N{sign of the horns}")
 
  logger.info(" your text \N{sign of the horns}")
Line 28: Line 28:
  
 
== See also ==
 
== See also ==
 +
* {{Python logging}}
 
* {{Python}}
 
* {{Python}}
  
 
[[Category:Python]]
 
[[Category:Python]]

Latest revision as of 07:03, 28 August 2024

Advertising: