Skip to content

Commit

Permalink
#2810: printing with size of file
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Feb 5, 2024
1 parent 12d832a commit 254724a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eo-maven-plugin/src/main/java/org/eolang/maven/PrintMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ void exec() throws IOException {
);
Logger.info(
this,
"Printed: %[file]s => %[file]s",
"Printed: %[file]s (%[size]s) => %[file]s (%[size]s)",
source,
this.printOutputDir.toPath().resolve(relative)
source.toFile().length(),
this.printOutputDir.toPath().resolve(relative),
this.printOutputDir.toPath().resolve(relative).toFile().length()
);
return 1;
},
Expand Down

0 comments on commit 254724a

Please sign in to comment.