Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LogImpl.Warn�Method�(Object, Exception)

Logs a message object with the WARN level

[Visual�Basic]
Overridable�Overloads�Public�Sub�Warn( _
���ByVal message�As�Object,�_
���ByVal exception�As�Exception�_
)�_
����Implements�ILog.Warn
[C#]
public�virtual�void�Warn(
���objectmessage,
���Exceptionexception
);

Parameters

message
The message object to log.
exception
The exception to log, including its stack trace.

Implements

ILog.Warn

Remarks

Logs a message object with the WARN level including the stack trace of the Exception exception passed as a parameter.

See the Warn form for more detailed information.

See Also

LogImpl Class | log4net.Core Namespace | LogImpl.Warn Overload List | Warn