void (@NotNull String s) { if (DISABLED) return; final ThreadInfo threadInfo = getThreadInfo(); try (FileWriter writer = new FileWriter(threadInfo.getName(), true)) { writer.write(threadInfo.getPrefix()); writer.write(s); writer.write('\n'); } catch (IOException e) { e.printStackTrace(); } if (threadInfo.getPrefix().isEmpty()) { threadMap.set(null); } }