The AdoNetAppender type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | AdoNetAppender |
Initializes a new instance of the AdoNetAppender class.
|
Methods
Name | Description | |
---|---|---|
![]() | ActivateOptions |
Initialize the appender based on the options set
(Overrides BufferingAppenderSkeleton ActivateOptions .) |
![]() | AddFilter |
Adds a filter to the end of the filter chain.
(Inherited from AppenderSkeleton.) |
![]() | AddParameter |
Adds a parameter to the command.
|
![]() | Append( LoggingEvent ) |
Append a bulk array of logging events.
(Inherited from AppenderSkeleton.) |
![]() | Append(LoggingEvent) |
This method is called by the DoAppend(LoggingEvent) method.
(Inherited from BufferingAppenderSkeleton.) |
![]() | ClearFilters |
Clears the filter list for this appender.
(Inherited from AppenderSkeleton.) |
![]() | Close |
Closes the appender and release resources.
(Inherited from AppenderSkeleton.) |
![]() | CreateConnection |
Creates an ![]() |
![]() | DoAppend(LoggingEvent) |
Performs threshold checks and invokes filters before
delegating actual logging to the subclasses specific
[M:Append(LoggingEvent)] method.
(Inherited from AppenderSkeleton.) |
![]() | DoAppend( LoggingEvent ) |
Performs threshold checks and invokes filters before
delegating actual logging to the subclasses specific
[M:Append(LoggingEvent[])] method.
(Inherited from AppenderSkeleton.) |
![]() | ![]() | (Inherited from ![]() |
![]() | FilterEvent |
Test if the logging event should we output by this appender
(Inherited from AppenderSkeleton.) |
![]() | Finalize |
Finalizes this appender by calling the implementation's
Close method.
(Inherited from AppenderSkeleton.) |
![]() | Flush |
Flush the currently buffered events
(Inherited from BufferingAppenderSkeleton.) |
![]() | Flush(Boolean) |
Flush the currently buffered events
(Inherited from BufferingAppenderSkeleton.) |
![]() | ![]() |
Serves as a hash function for a particular type.
(Inherited from ![]() |
![]() | GetLogStatement |
Formats the log message into database statement text.
|
![]() | ![]() |
Gets the (Inherited from ![]() ![]() |
![]() | IsAsSevereAsThreshold |
Checks if the message level is below this appender's threshold.
(Inherited from AppenderSkeleton.) |
![]() | ![]() |
Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | OnClose |
Override the parent method to close the database
(Overrides BufferingAppenderSkeleton OnClose .) |
![]() | PreAppendCheck |
Called before [M:Append(LoggingEvent)] as a precondition.
(Inherited from AppenderSkeleton.) |
![]() | RenderLoggingEvent(LoggingEvent) |
Renders the LoggingEvent to a string.
(Inherited from AppenderSkeleton.) |
![]() | RenderLoggingEvent(TextWriter, LoggingEvent) |
Renders the LoggingEvent to a string.
(Inherited from AppenderSkeleton.) |
![]() | ResolveConnectionString |
Resolves the connection string from the ConnectionString, ConnectionStringName, or AppSettingsKey
property.
|
![]() | ResolveConnectionType |
Retrieves the class type of the ADO.NET provider.
|
![]() | SendBuffer( LoggingEvent ) |
Inserts the events into the database.
(Overrides BufferingAppenderSkeleton SendBuffer( LoggingEvent ).) |
![]() | SendBuffer(IDbTransaction, LoggingEvent ) |
Writes the events to the database using the transaction specified.
|
![]() | SendFromBuffer |
Sends the contents of the buffer.
(Inherited from BufferingAppenderSkeleton.) |
![]() | ![]() | (Inherited from ![]() |
Fields
Name | Description | |
---|---|---|
![]() | m_parameters |
The list of AdoNetAppenderParameter objects.
|
Properties
Name | Description | |
---|---|---|
![]() | AppSettingsKey |
The appSettings key from App.Config that contains the connection string.
|
![]() | BufferSize |
Gets or sets the size of the cyclic buffer used to hold the
logging events.
(Inherited from BufferingAppenderSkeleton.) |
![]() | CommandText |
Gets or sets the command text that is used to insert logging events
into the database.
|
![]() | CommandType |
Gets or sets the command type to execute.
|
![]() | Connection |
Gets or sets the underlying ![]() |
![]() | ConnectionString |
Gets or sets the database connection string that is used to connect to
the database.
|
![]() | ConnectionStringName |
The connectionStrings key from App.Config that contains the connection string.
|
![]() | ConnectionType |
Gets or sets the type name of the ![]() |
![]() | ErrorHandler |
Gets or sets the IErrorHandler for this appender.
(Inherited from AppenderSkeleton.) |
![]() | Evaluator |
Gets or sets the ITriggeringEventEvaluator that causes the
buffer to be sent immediately.
(Inherited from BufferingAppenderSkeleton.) |
![]() | FilterHead |
The filter chain.
(Inherited from AppenderSkeleton.) |
![]() | Fix |
Gets or sets a the fields that will be fixed in the event
(Inherited from BufferingAppenderSkeleton.) |
![]() | Layout |
Gets or sets the ILayout for this appender.
(Inherited from AppenderSkeleton.) |
![]() | Lossy |
Gets or sets a value that indicates whether the appender is lossy.
(Inherited from BufferingAppenderSkeleton.) |
![]() | LossyEvaluator |
Gets or sets the value of the ITriggeringEventEvaluator to use.
(Inherited from BufferingAppenderSkeleton.) |
![]() | Name |
Gets or sets the name of this appender.
(Inherited from AppenderSkeleton.) |
![]() | OnlyFixPartialEventData | Obsolete.
Gets or sets a value indicating if only part of the logging event data
should be fixed.
(Inherited from BufferingAppenderSkeleton.) |
![]() | ReconnectOnError |
Should this appender try to reconnect to the database on error.
|
![]() | RequiresLayout |
Tests if this appender requires a Layout to be set.
(Inherited from AppenderSkeleton.) |
![]() | SecurityContext |
Gets or sets the SecurityContext used to call the NetSend method.
|
![]() | Threshold |
Gets or sets the threshold Level of this appender.
(Inherited from AppenderSkeleton.) |
![]() | UseTransactions |
Should transactions be used to insert logging events in the database.
|
See Also