log4net SDK Reference

LogLog.Warn Method (String, Exception)

Writes log4net internal warning messages to the standard error stream.

[Visual Basic]
Overloads Public Shared Sub Warn( _
   ByVal message As String, _
   ByVal exception As Exception _
)
[C#]
public static void Warn(
   string message,
   Exception exception
);

Parameters

message
The message to log.
exception
An exception to log.

Remarks

All internal warning messages are prepended with the string "log4net:WARN ".

See Also

LogLog Class | log4net.Util Namespace | LogLog.Warn Overload List