[pygccxml-commit] source/pyplusplus/_logging_ __init__.py,NONE,1.1
Brought to you by:
mbaas,
roman_yakovenko
From: Roman <rom...@us...> - 2006-04-06 06:16:24
|
Update of /cvsroot/pygccxml/source/pyplusplus/_logging_ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28954/pyplusplus/_logging_ Added Files: __init__.py Log Message: There are a lot of changes, sorry CVS did not worked for week or something like this Changes 1. Lots of code clean up 2. Adding and updating documentation 3. Adding new method on decl_wrapper - readme. This method will return list of msgs to the developer. For example if function takes by reference fundamental type it will say that this function could not be called from Python 4. Logging functionlity has been added to file writers too 5. Few bug fixes 6. For operator [] call policies is always set. --- NEW FILE: __init__.py --- # Copyright 2004 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) #TODO: find better place for it import sys import logging logger = logging.getLogger('pyplusplus') __handler = logging.StreamHandler(sys.stdout) __handler.setFormatter( logging.Formatter('%(message)s') ) logger.addHandler(__handler) logger.setLevel(logging.DEBUG) |