DefaultLogger.SetLog Method

OpenPop.NET

OpenPop.NET POP3 Library Documentation

DefaultLogger.SetLog Method

Changes the default logging to log to a new logger

public static void SetLog(
   ILog newLogger
);

Parameters

newLogger
The new logger to use to send log messages to

Exceptions

Exception Type Condition
ArgumentNullException Never set this to a null reference.
Instead you should implement a NullLogger which just does nothing.

See Also

DefaultLogger Class | OpenPop.Common.Logging Namespace