#21425: Logging documentation improvement
-------------------------------+-----------------------------------
     Reporter:  oubiga         |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Documentation  |    Version:  master
     Severity:  Normal         |   Keywords:  logging, levels, log,
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+-----------------------------------
 '''Now https://docs.djangoproject.com/en/dev/topics/logging/ says''':

 " Python defines the following log levels:

     DEBUG: Low level system information for debugging purposes
     INFO: General system information
     WARNING: Information describing a minor problem that has occurred.
     ERROR: Information describing a major problem that has occurred.
     CRITICAL: Information describing a critical problem that has occurred.

 [...]

 The logger instance contains an entry method for each of the default log
 levels:

     logger.critical()
     logger.error()
     logger.warning()
     logger.info()
     logger.debug() "

 '''My proposals are''':

 " Python defines the following log levels:

     CRITICAL: Information describing a critical problem that has occurred.
     ERROR: Information describing a major problem that has occurred.
     WARNING: Information describing a minor problem that has occurred.
     INFO: General system information.
     DEBUG: Low level system information for debugging purposes.

 [...]

 The logger instance contains an entry method for each of the default log
 levels:

     logger.critical()
     logger.error()
     logger.warning()
     logger.info()
     logger.debug() "

 '''or''':

 " Python defines the following log levels:

     DEBUG: Low level system information for debugging purposes
     INFO: General system information
     WARNING: Information describing a minor problem that has occurred.
     ERROR: Information describing a major problem that has occurred.
     CRITICAL: Information describing a critical problem that has occurred.

 [...]

 The logger instance contains an entry method for each of the default log
 levels:

     logger.debug()
     logger.info()
     logger.warning()
     logger.error()
     logger.critical() "

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21425>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.b9d8514f5cdb7a8b11414d5889f14ab2%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to