Java, Architecture, Clean Code, Solid, Programming.
text) { try { FileWriter writer = new FileWriter(path, true); writer.write(text + "\n"); writer.close(); } catch (IOException e) { e.printStackTrace(); } } } class HttpLogger extends Logger { private final String ip; private final int port; HttpLogger(String ip, int port) { this.ip = ip; this.port