@classmethod
def clear(cls, traces=True, enabler=True, dispatcher=True, loggers=False):
    """
        Clear the current thread's context of the named attributes.
        This will reset them to their default values.
        """
    if traces:
        cls._context.traces = []
    if enabler:
        cls._context.enabler = False
    if dispatcher:
        cls._context.dispatcher = None
    if loggers:
        cls._context.loggers = {}
