AdoNetAppender PropertiesApache log4net™ SDK Documentation

The AdoNetAppender type exposes the following members.

Properties

  NameDescription
Public propertyAppSettingsKey
The appSettings key from App.Config that contains the connection string.
Public propertyBufferSize
Gets or sets the size of the cyclic buffer used to hold the logging events.
(Inherited from BufferingAppenderSkeleton.)
Public propertyCommandText
Gets or sets the command text that is used to insert logging events into the database.
Public propertyCommandType
Gets or sets the command type to execute.
Protected propertyConnection
Gets or sets the underlying IDbConnection.
Public propertyCode exampleConnectionString
Gets or sets the database connection string that is used to connect to the database.
Public propertyConnectionStringName
The connectionStrings key from App.Config that contains the connection string.
Public propertyCode exampleConnectionType
Gets or sets the type name of the IDbConnection connection that should be created.
Public propertyErrorHandler
Gets or sets the IErrorHandler for this appender.
(Inherited from AppenderSkeleton.)
Public propertyEvaluator
Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
(Inherited from BufferingAppenderSkeleton.)
Public propertyFilterHead
The filter chain.
(Inherited from AppenderSkeleton.)
Public propertyFix
Gets or sets a the fields that will be fixed in the event
(Inherited from BufferingAppenderSkeleton.)
Public propertyLayout
Gets or sets the ILayout for this appender.
(Inherited from AppenderSkeleton.)
Public propertyLossy
Gets or sets a value that indicates whether the appender is lossy.
(Inherited from BufferingAppenderSkeleton.)
Public propertyLossyEvaluator
Gets or sets the value of the ITriggeringEventEvaluator to use.
(Inherited from BufferingAppenderSkeleton.)
Public propertyName
Gets or sets the name of this appender.
(Inherited from AppenderSkeleton.)
Public propertyOnlyFixPartialEventData Obsolete.
Gets or sets a value indicating if only part of the logging event data should be fixed.
(Inherited from BufferingAppenderSkeleton.)
Public propertyReconnectOnError
Should this appender try to reconnect to the database on error.
Protected propertyRequiresLayout
Tests if this appender requires a Layout to be set.
(Inherited from AppenderSkeleton.)
Public propertySecurityContext
Gets or sets the SecurityContext used to call the NetSend method.
Public propertyThreshold
Gets or sets the threshold Level of this appender.
(Inherited from AppenderSkeleton.)
Public propertyUseTransactions
Should transactions be used to insert logging events in the database.
Top
See Also

Reference