메소드 | 설명 | |
---|---|---|
ActivateOptions ( ) : void | ||
Close ( ) : void | ||
DoAppend ( log4net.Core.LoggingEvent loggingEvent ) : void |
메소드 | 설명 | |
---|---|---|
GetConnection ( ) : IDbConnection |
Create the connection object This implementation returns a SqlConnection. To change the connection subclass this appender and return a different connection type. |
|
InitializeCommand ( IDbCommand command ) : void |
Initialize the command object supplied This method must setup the database command and the parameters. |
|
SetCommandValues ( IDbCommand command, log4net.Core.LoggingEvent loggingEvent ) : void |
Set the values for the command parameters Set the values of the parameters created by the InitializeCommand method. |
public DoAppend ( log4net.Core.LoggingEvent loggingEvent ) : void | ||
loggingEvent | log4net.Core.LoggingEvent | |
리턴 | void |
protected InitializeCommand ( IDbCommand command ) : void | ||
command | IDbCommand | the command to initialize |
리턴 | void |
protected SetCommandValues ( IDbCommand command, log4net.Core.LoggingEvent loggingEvent ) : void | ||
command | IDbCommand | the command to update |
loggingEvent | log4net.Core.LoggingEvent | the current logging event to retrieve the values from |
리턴 | void |