public DelegatingSink(Action<LogEvent> write) { if (write == null) throw new ArgumentNullException(nameof(write)); _write = write; }