OpenShot Video Editor  2.0.0
Classes | Namespaces | Variables
logger.py File Reference

This file sets the default logging settings. More...

Go to the source code of this file.

Classes

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

Namespaces

 logger
 

Variables

 logger.fh
 
 logger.formatter = logging.Formatter('%(module)12s:%(levelname)s %(message)s')
 
 logger.log = logging.getLogger('OpenShot')
 
 logger.se = StreamToLogger(log, logging.ERROR)
 
 logger.so = StreamToLogger(log, logging.INFO)
 
 logger.stderr
 
 logger.stdout
 

Detailed Description

This file sets the default logging settings.

Author
Noah Figg eggmu.nosp@m.nkee.nosp@m.@hotm.nosp@m.ail..nosp@m.com
Jonathan Thomas jonat.nosp@m.han@.nosp@m.opens.nosp@m.hot..nosp@m.org

LICENSE

Copyright (c) 2008-2016 OpenShot Studios, LLC (http://www.openshotstudios.com). This file is part of OpenShot Video Editor (http://www.openshot.org), an open-source project dedicated to delivering high quality video editing and animation solutions to the world.

OpenShot Video Editor is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

OpenShot Video Editor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenShot Library. If not, see http://www.gnu.org/licenses/.

Definition in file logger.py.