Logger.Log Method (Type, Level, Object, Exception)
This generic form is intended to be used by wrappers.
[Visual Basic]
Overridable Overloads Public Sub Log( _
ByVal
callerStackBoundaryDeclaringType As
Type, _
ByVal
level As
Level, _
ByVal
message As
Object, _
ByVal
exception As
Exception _
) _
Parameters
-
callerStackBoundaryDeclaringType
- The declaring type of the method that is the stack boundary into the logging system for this call.
-
level
- The level of the message to be logged.
-
message
- The message object to log.
-
exception
- The exception to log, including its stack trace.
Implements
ILogger.Log
Remarks
Generate a logging event for the specified level using the message and exception.
This method must not throw any exception to the caller.
See Also
Logger Class | log4net.Repository.Hierarchy Namespace | Logger.Log Overload List