Skip to content

Commit 57eceb1

Browse files
authored
Merge pull request #36 from FoamyGuy/docs_attributes_fix
fix attribute list and NOTSET description in docs
2 parents 047df8f + 20caee5 commit 57eceb1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

adafruit_logging.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@
3131
3232
Attributes
3333
----------
34-
LEVELS : list
34+
LEVELS: list
3535
A list of tuples representing the valid logging levels used by
3636
this module. Each tuple contains exactly two elements: one int and one
3737
str. The int in each tuple represents the relative severity of that
3838
level (00 to 50). The str in each tuple is the string representation of
3939
that logging level ("NOTSET" to "CRITICAL"; see below).
40-
NOTSET : int
41-
The NOTSET logging level, which is a dummy logging level that can be
42-
used to indicate that a `Logger` should not print any logging messages,
43-
regardless of how severe those messages might be (including CRITICAL).
44-
DEBUG : int
40+
NOTSET: int
41+
The NOTSET logging level, which is the default logging level that can be
42+
used to indicate that a `Logger` should process any logging messages,
43+
regardless of how severe those messages are.
44+
DEBUG: int
4545
The DEBUG logging level, which is the lowest (least severe) real level.
46-
INFO : int
46+
INFO: int
4747
The INFO logging level for informative/informational messages.
48-
WARNING : int
48+
WARNING: int
4949
The WARNING logging level for warnings that should be addressed/fixed.
50-
ERROR : int
50+
ERROR: int
5151
The ERROR logging level for Python exceptions that occur during runtime.
52-
CRITICAL : int
52+
CRITICAL: int
5353
The CRITICAL logging level, which is the highest (most severe) level for
5454
unrecoverable errors that have caused the code to halt and exit.
5555

0 commit comments

Comments
 (0)