gbp :: log :: GbpLogger :: Class GbpLogger

[hide private]
[frames] | no frames]

# Class GbpLogger

          object --+
                   |
    logging.Filterer --+
                       |
          logging.Logger --+
                           |
                          GbpLogger

Logger class for git-buildpackage

Instance Methods | [hide private]

__init__(self, name, color=`'``auto``'`, *args, **kwargs) Initialize the logger with a name and an optional level. |

set_color(self, color) Set/unset colorized output of the default handlers |

set_color_scheme(self, color_scheme=`{``}`) Set the color scheme of the default handlers |

set_format(self, fmt) Set the format of the default handlers |

Inherited from `logging.Logger`: `addHandler`, `callHandlers`, `critical`, `debug`, `error`, `exception`, `fatal`, `findCaller`, `getChild`, `getEffectiveLevel`, `handle`, `info`, `isEnabledFor`, `log`, `makeRecord`, `removeHandler`, `setLevel`, `warn`, `warning`

Inherited from `logging.Logger` (private): `_log`

Inherited from `logging.Filterer`: `addFilter`, `filter`, `removeFilter`

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]

Inherited from `logging.Logger`: `manager`, `root`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, name, color=`'``auto``'`, *args, **kwargs)
(Constructor)

Initialize the logger with a name and an optional level.

Overrides: object.__init__
  (inherited documentation)