OpenShot Video Editor  2.0.0
Classes | Functions | Variables
logger Namespace Reference

Classes

class  StreamToLogger
 Custom class to log all stdout and stderr streams (from libopenshot / and other libraries) More...
 

Functions

def reroute_output
 Route stdout and stderr to logger (custom handler) More...
 

Variables

tuple fh
 
tuple formatter = logging.Formatter('%(module)12s:%(levelname)s %(message)s')
 
tuple log = logging.getLogger('OpenShot')
 

Function Documentation

def logger.reroute_output ( )

Route stdout and stderr to logger (custom handler)

Definition at line 74 of file logger.py.

Variable Documentation

tuple logger.fh
Initial value:
1 = RotatingFileHandler(
2  os.path.join(info.USER_PATH, 'openshot-qt.log'), encoding="utf-8", maxBytes=25*1024*1024, backupCount=3)

Definition at line 67 of file logger.py.

tuple logger.formatter = logging.Formatter('%(module)12s:%(levelname)s %(message)s')

Definition at line 60 of file logger.py.

tuple logger.log = logging.getLogger('OpenShot')

Definition at line 63 of file logger.py.