File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/main/java/com/azure/cosmos/examples/crudquickstart/sync Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -148,15 +148,13 @@ private void createFamilies(List<Family> families) throws Exception {
148148 // </CreateItem>
149149
150150 // Get request charge and other properties like latency, and diagnostics strings, etc.
151- logger .info (String .format ("Created item with request charge of %.2f within" +
152- " duration %s" ,
151+ System .out .println (String .format ("Created item with request charge of %.2f within duration %s" ,
153152 item .getRequestCharge (), item .getRequestLatency ()));
153+
154154 totalRequestCharge += item .getRequestCharge ();
155155 }
156- logger .info (String .format ("Created %d items with total request " +
157- "charge of %.2f" ,
158- families .size (),
159- totalRequestCharge ));
156+ System .out .println (String .format ("Created %d items with total request charge of %.2f" ,
157+ families .size (), totalRequestCharge ));
160158 }
161159
162160 private void readItems (ArrayList <Family > familiesToCreate ) {
You can’t perform that action at this time.
0 commit comments