BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

tests::logging_disabled Class Reference

List of all members.

Public Member Functions

def __init__
def __enter__
def __exit__

Public Attributes

 nested

Static Public Attributes

 DISABLED = False

Detailed Description

context manager that temporarily disable logging.

USAGE:
    with logging_disabled():
        # do stuff

Constructor & Destructor Documentation

def tests::logging_disabled::__init__ (   self)

Member Function Documentation

def tests::logging_disabled::__enter__ (   self)
def tests::logging_disabled::__exit__ (   self,
  exc_type,
  exc_val,
  exc_tb 
)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties