Feature Request - Have less generic exception (not InvalidOperationException) when LogWriter is set OR not set

Topics: Logging Application Block
Aug 3 at 6:46 PM
(Apologies if this is the wrong place)

I recently updated my codebase from version 4 to 6 and this impacted the way my DR container resolves the logging library.

I either get:
The LogWriter has not been set for the Logger static class. Set it invoking the Logger.SetLogWriter method.
OR
The LogWriter is already set.
In both cases, an InvalidOperationException is thrown.

So I would like to request the addition of specific exceptions:

LogWriterNotSetException and LogWriterAlreadySetException

And/Or

The addition of a boolean flag (LogWriterIsSet) to indicate if it is set or not