A mistake was sort of made allowing one to access the LogOutput through the OutputRegistry.
What we really want is some sort of callback so that the appenders do locking.
<R> R LogOutputRegistry.withOutput(String outputName, Duration duration, Function<LogOutput, R> function) throws NastyExceptionsLikeTimeoutEtc;
When function is applied it will be within the appenders locks.
This is to help support #269
A mistake was sort of made allowing one to access the LogOutput through the OutputRegistry.
What we really want is some sort of callback so that the appenders do locking.
When function is applied it will be within the appenders locks.
This is to help support #269