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

Method err

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

Source from the content-addressed store, hash-verified

37 }
38
39 public static void err(String format, Object... args) throws IllegalFormatException {
40 LocalDateTime now = LocalDateTime.now();
41 String ns = dtf.format(now);
42 String ss = ns + " " + String.format(format, args);
43 System.err.println(ss);
44 guiLog.appendErr(ss);
45 }
46
47 public static void errWithStackTrace(Throwable e) throws IllegalFormatException {
48 err(e.toString());

Callers 15

errWithStackTraceMethod · 0.95
startListenMethod · 0.80
PrivateDNSImpMethod · 0.80
runMethod · 0.80
startContainerMethod · 0.80
onErrorMethod · 0.80
HeaderFieldMethod · 0.80
doInBackgroundMethod · 0.80
DataToBeSendMethod · 0.80
launchAttackMethod · 0.80

Calls 2

appendErrMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected