diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-01-26 11:39:27 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-01-27 10:50:52 +0000 |
commit | 568cc60b7097299cacb4341a4a70d8ef270f51b4 (patch) | |
tree | 32c33be07b8c836d779ea0efdcae9b47836f5abe /src/vpp-api/java/jvpp/gen/jvppgen/dto_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/dto_gen.py')
-rw-r--r-- | src/vpp-api/java/jvpp/gen/jvppgen/dto_gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/java/jvpp/gen/jvppgen/dto_gen.py b/src/vpp-api/java/jvpp/gen/jvppgen/dto_gen.py index 158e26ef59f..035a5b49eb8 100644 --- a/src/vpp-api/java/jvpp/gen/jvppgen/dto_gen.py +++ b/src/vpp-api/java/jvpp/gen/jvppgen/dto_gen.py @@ -60,9 +60,9 @@ send_template = Template(""" @Override }""") -def generate_dtos(func_list, base_package, plugin_package, plugin_name, dto_package, inputfile): +def generate_dtos(func_list, base_package, plugin_package, plugin_name, dto_package, inputfile, logger): """ Generates dto objects in a dedicated package """ - print "Generating DTOs" + logger.debug("Generating DTOs for %s" % inputfile) if not os.path.exists(dto_package): os.mkdir(dto_package) |