The colors module
The colors module contains the Colors class which provides definitions
for various foreground and background colors that can be used to log messages
in various colors.
The Colors class
-
class pyamp.logging.colors.Colors[source]
The Colors class contains two classes which define possible Foreground
and Background colors. These colors can be used to colorize console output
in a specific way.
-
class Background[source]
The Background class contains definitions of the following
background colors.
- White_Bold_Underline
- Blue, and Light_Blue
- Purple, and Light_Purple
- Green, and Light_Green
- Red, and Light_Red
- Gray, and Light_Gray
- Cyan, and Light_Cyan
- Orange, and Light_Yellow
-
class Colors.Foreground[source]
The Foreground class contains definitions of the following
foreground colors.
- White
- White_Bold
- White_Underline
- Black
- Blue, and Light_Blue
- Purple, and Light_Purple
- Green, and Light_Green
- Red, and Light_Red
- Gray, and Light_Gray
- Cyan, and Light_Cyan
- Orange, and Light_Yellow