diff options
author | 2018-01-26 11:39:27 +0100 | |
---|---|---|
committer | 2018-01-27 10:50:52 +0000 | |
commit | 568cc60b7097299cacb4341a4a70d8ef270f51b4 (patch) | |
tree | 32c33be07b8c836d779ea0efdcae9b47836f5abe /src/vpp-api/java/jvpp/gen/jvppgen/jvpp_c_gen.py | |
parent | 2f8d8fa50175bf775f66ff15aff2cf08138ccfbd (diff) |
jvpp: use Python's logging API
Change-Id: Iec437e4672af1f0d1a24458afb977ba6fbeba4ed
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'src/vpp-api/java/jvpp/gen/jvppgen/jvpp_c_gen.py')
-rw-r--r-- | src/vpp-api/java/jvpp/gen/jvppgen/jvpp_c_gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/java/jvpp/gen/jvppgen/jvpp_c_gen.py b/src/vpp-api/java/jvpp/gen/jvppgen/jvpp_c_gen.py index df1312a1308..b97a9f95435 100644 --- a/src/vpp-api/java/jvpp/gen/jvppgen/jvpp_c_gen.py +++ b/src/vpp-api/java/jvpp/gen/jvppgen/jvpp_c_gen.py @@ -366,9 +366,9 @@ $handler_registration """) -def generate_jvpp(func_list, plugin_name, inputfile, path): +def generate_jvpp(func_list, plugin_name, inputfile, path, logger): """ Generates jvpp C file """ - print "Generating jvpp C" + logger.debug("Generating jvpp C for %s" % inputfile) class_cache = generate_class_cache(func_list, plugin_name) jni_impl = generate_jni_impl(func_list, plugin_name, inputfile) |