# circuits 2.1.0 documentation

# `circuits.core.debugger` – Debugger

Debugger component used to debug each event in a system by printing each event to sys.stderr or to a Logger Component instance.

## Classes

none

## Components

class `circuits.core.debugger.``Debugger`(errors=True, events=True, file=None, logger=None, prefix=None, trim=None, **kwargs)

  Bases: `circuits.core.components.BaseComponent`

  Create a new Debugger Component

  Creates a new Debugger Component that filters all events in the system printing each event to sys.stderr or a Logger Component.

  Variables: | IgnoreEvents – list of events (str) to ignore IgnoreChannels – list of channels (str) to ignore enabled – Enabled/Disabled flag
  Parameters: | log – Logger Component instance or None (default)

  initializes x; see x.__class__.__doc__ for signature

## Events

none

## Functions

none