Skip to content
Browse files

Document log levels.

  • Loading branch information...
wsanchez committed Jun 19, 2013
1 parent f37ad15 commit 6a56a7319f848e6c4db0e8f6ce4011fc47dfb629
Showing with 17 additions and 1 deletion.
  1. +17 −1 twext/python/
@@ -102,7 +102,23 @@ def __init__(self, level):

class LogLevel(Names):
Constants denoting log levels.
Constants denoting log levels:
- C{debug}: Information of use to a developer of the software, not
generally of interest to someone running the software unless they are
attempting to diagnose a software issue.
- C{info}: Informational events: Routine information about the status of
an application, such as incoming connections, startup of a subsystem,
- C{warn}: Warnings events: Events that may require greater attention than
informational events but are a failure condition, such as authorization
failures, bad data from a network client, etc.
- C{error}: Error conditions: Events indicating a software failure, such
as unhandled exceptions, loss of connectivity to a back-end database,
debug = NamedConstant()
info = NamedConstant()

0 comments on commit 6a56a73

Please sign in to comment.
You can’t perform that action at this time.