log4net SDK Reference

AdoNetAppender Methods

The methods of the AdoNetAppender class are listed below. For a complete list of AdoNetAppender class members, see the AdoNetAppender Members topic.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddParameter Adds a parameter to the command.
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Flush (inherited from BufferingAppenderSkeleton)Overloaded. Flush the currently buffered events
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Append (inherited from AppenderSkeleton)Overloaded. Append a bulk array of logging events.
Append (inherited from BufferingAppenderSkeleton)Overloaded. Append a bulk array of logging events.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetLogStatement Formats the log message into database statement text.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClose Override the parent method to close the database
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.
ResolveConnectionType Retrieves the class type of the ADO.NET provider.
SendBufferOverloaded. Writes the events to the database using the transaction specified.
SendFromBuffer (inherited from BufferingAppenderSkeleton) Sends the contents of the buffer.

See Also

AdoNetAppender Class | log4net.Appender Namespace