# `gbp.log.GbpStreamHandler(logging.StreamHandler)` class documentation

Part of `gbp.log` (View In Hierarchy)

Special stream handler for enabling colored output

Method | __init__ | Undocumented
Method | set_color | Set/unset colorized output
Method | set_color_scheme | Set logging colors
Method | set_format | Set logging format
Method | format | Colorizing formatter
Method | _use_color | Check if to print in color or not

def __init__(self, stream=None, color='auto'):
Undocumented
def set_color(self, color):

Set/unset colorized output

def set_color_scheme(self, color_scheme={}):

Set logging colors

def set_format(self, fmt):

Set logging format

def _use_color(self):

Check if to print in color or not

def format(self, record):

Colorizing formatter