@Override public void write(Object msg, Object... args) throws IOException { if (isOpen()) { print_(formatter.format(msg, args)); } else { throw new IOException("Sink is closed, sink.file=" + file); } }
@Override public void write(Object msg, Object... args) throws IOException { if (isOpen()) { print_(formatter.format(msg, args)); } else { throw new IOException("Sink is closed, sink.file=" + file); } }