Acquire the lock on the file
Assembly: log4net (in log4net.dll) Version: 22.214.171.124-.NET 4.0
public override Stream AcquireLock()
Public Overrides Function AcquireLock As Stream
public: virtual Stream^ AcquireLock() override
abstract AcquireLock : unit -> Stream override AcquireLock : unit -> Stream
Return ValueType: Stream
A stream that is ready to be written to.
Acquire the lock on the file in preparation for writing to it. Return a stream pointing to the file. ReleaseLock must be called to release the lock on the output file.