Formats the log message into database statement text.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
protected virtual string GetLogStatement(
LoggingEvent logEvent
)
protected virtual string GetLogStatement(
LoggingEvent logEvent
)
Protected Overridable Function GetLogStatement (
logEvent As LoggingEvent
) As String
Protected Overridable Function GetLogStatement (
logEvent As LoggingEvent
) As String
protected:
virtual String^ GetLogStatement(
LoggingEvent^ logEvent
)
protected:
virtual String^ GetLogStatement(
LoggingEvent^ logEvent
)
Return Value
Type:
String
Text that can be passed to a
IDbCommand.
This method can be overridden by subclasses to provide
more control over the format of the database statement.