Skip to content

Commit 1317c40

Browse files
committed
chore: log formatting
1 parent 72cbc58 commit 1317c40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/App.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ void main(String[] args) throws Exception {
66
server.createContext(
77
"/",
88
t -> {
9-
IO.println("GET: %s%n".formatted(t.getRequestURI()));
9+
IO.println("GET: %s".formatted(t.getRequestURI()));
1010
long unit = 1024 * 1024L;
1111
long heapSize = Runtime.getRuntime().totalMemory();
1212
long heapFreeSize = Runtime.getRuntime().freeMemory();
@@ -74,8 +74,8 @@ void main(String[] args) throws Exception {
7474
var vmTime = ProcessHandle.current().info().startInstant().orElseGet(Instant::now).toEpochMilli();
7575
var currTime = System.currentTimeMillis();
7676

77-
IO.println("Starting Http Server on port %d%n".formatted(server.getAddress().getPort()));
78-
IO.println("Started in %d millis! (%s: %dms, App: %dms)%n".formatted(currTime - vmTime, type, start - vmTime, currTime - start));
77+
IO.println("Starting Http Server on port %d".formatted(server.getAddress().getPort()));
78+
IO.println("Started in %d millis! (%s: %dms, App: %dms)".formatted(currTime - vmTime, type, start - vmTime, currTime - start));
7979
}
8080

8181
/// Checks if the application is running as a GraalVM native executable.

0 commit comments

Comments
 (0)