MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / log

Method log

src/main/java/core/packetproxy/util/Logging.java:31–37  ·  view source on GitHub ↗
(String format, Object... args)

Source from the content-addressed store, hash-verified

29 }
30
31 public static void log(String format, Object... args) throws IllegalFormatException {
32 LocalDateTime now = LocalDateTime.now();
33 String ns = dtf.format(now);
34 String ss = ns + " " + String.format(format, args);
35 System.out.println(ss);
36 guiLog.append(ss);
37 }
38
39 public static void err(String format, Object... args) throws IllegalFormatException {
40 LocalDateTime now = LocalDateTime.now();

Callers

nothing calls this directly

Calls 2

formatMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected