@@ -58,7 +58,7 @@ def runOneOrMany(options):
5858 for name in [name for name in files if name .endswith ('.java' )]:
5959 fullname = path .join (dirname , name )
6060 options .inputfile = fullname
61- info ('opening %s' , fullname )
61+ logging . info ('opening %s' , fullname )
6262 if outfile and outfile != '-' and not isinstance (outfile , IOBase ):
6363 full = path .abspath (path .join (outfile , fullname ))
6464 head , tail = path .split (full )
@@ -157,13 +157,13 @@ def runTransform(options):
157157 except (SyntaxError , ) as ex :
158158 warning ('Generated source has invalid syntax. %s' , ex )
159159 else :
160- info ('Generated source has valid syntax.' )
160+ logging . info ('Generated source has valid syntax.' )
161161
162- info ('Parse: %.4f seconds' , timed ['comp_finish' ] - timed ['comp' ])
163- info ('Visit: %.4f seconds' , timed ['visit_finish' ] - timed ['visit' ])
164- info ('Transform: %.4f seconds' , timed ['xform_finish' ] - timed ['xform' ])
165- info ('Encode: %.4f seconds' , timed ['encode_finish' ] - timed ['encode' ])
166- info ('Total: %.4f seconds' , timed ['overall_finish' ] - timed ['overall' ])
162+ logging . info ('Parse: %.4f seconds' , timed ['comp_finish' ] - timed ['comp' ])
163+ logging . info ('Visit: %.4f seconds' , timed ['visit_finish' ] - timed ['visit' ])
164+ logging . info ('Transform: %.4f seconds' , timed ['xform_finish' ] - timed ['xform' ])
165+ logging . info ('Encode: %.4f seconds' , timed ['encode_finish' ] - timed ['encode' ])
166+ logging . info ('Total: %.4f seconds' , timed ['overall_finish' ] - timed ['overall' ])
167167 return 0
168168
169169
0 commit comments