Acquire the lock on the file
Assembly: log4net (in log4net.dll) Version: 126.96.36.199-.NET 4.0
public abstract Stream AcquireLock()
Public MustOverride Function AcquireLock As Stream
public: virtual Stream^ AcquireLock() abstract
abstract 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.