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

Method Logger

src/main/java/core/packetproxy/common/Logger.java:31–39  ·  view source on GitHub ↗
(List<Packet> packets)

Source from the content-addressed store, hash-verified

29 private List<Packet> packets;
30
31 public Logger(List<Packet> packets) {
32 this.packets = packets;
33 this.log_dir = DEFAULT_LOG_DIR;
34 this.log_ext = DEFAULT_LOG_EXT;
35 this.file_title = null;
36 File f = new File(DEFAULT_LOG_DIR);
37 if (!f.exists())
38 f.mkdirs();
39 }
40
41 public void appendLogDir(String append_log_dir) {
42 // logs/appended_log_dir/以下に保存みたいなことをする

Callers

nothing calls this directly

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected