Acquires the writer lock
This method blocks if another thread has a reader lock or writer lock.
ReaderWriterLock Class | log4net.Util Namespace