LogImplWarn Method (Object, Exception)Apache log4net™ SDK Documentation
Logs a message object with the WARN level

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public virtual void Warn(
	Object message,
	Exception exception
)

Parameters

message
Type: SystemObject
The message object to log.
exception
Type: SystemException
The exception to log, including its stack trace.

Implements

ILogWarn(Object, Exception)
Remarks

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

See the [M:Warn(object)] form for more detailed information.

See Also

Reference

[M:Warn(object)]