OpenQuizz
Une application de gestion des contenus pédagogiques
ColorizedStreamHandler Class Reference
Inheritance diagram for ColorizedStreamHandler:
Collaboration diagram for ColorizedStreamHandler:

Public Member Functions

def __init__ (self, stream=None, no_color=None)
 
def should_color (self)
 
def format (self, record)
 
def handleError (self, record)
 

Data Fields

 stream
 

Static Public Attributes

 COLORS
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  stream = None,
  no_color = None 
)

Member Function Documentation

◆ format()

def format (   self,
  record 
)

◆ handleError()

def handleError (   self,
  record 
)

◆ should_color()

def should_color (   self)

Field Documentation

◆ COLORS

COLORS
static

◆ stream

stream

The documentation for this class was generated from the following file: