Enable more pybindgen logging

This commit is contained in:
Gustavo Carneiro
2014-03-02 20:44:20 +00:00
parent cb559e2947
commit 89b3183f65

View File

@@ -6,6 +6,8 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler
from pybindgen.module import MultiSectionFactory
import ns3modulegen_core_customizations
import logging
pybindgen.settings.wrapper_registry = pybindgen.settings.StdMapWrapperRegistry
import traceback
@@ -55,6 +57,9 @@ class MyMultiSectionFactory(MultiSectionFactory):
def main(argv):
logging.basicConfig()
logging.getLogger("pybindgen.typehandlers").setLevel(logging.DEBUG)
module_abs_src_path, target, extension_name, output_cc_file_name = argv[1:]
module_name = os.path.basename(module_abs_src_path)
out = MyMultiSectionFactory(output_cc_file_name)