NET Logging Library
OleDbTarget Class Members
Properties  Methods 


KellermanSoftware.NetLoggingLibrary.Targets Namespace : OleDbTarget Class

The following tables list the members exposed by OleDbTarget.

Public Constructors
 NameDescription
Public Constructor Default constructor  
Top
Public Properties
 NameDescription
Public Property Used internally for performance. Returns true if there is any filter defined for this target. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, only log for a specific assembly name It is possible to use multiple assemblies delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property When a logging target is wrapped by a BufferedWrapper, this is how often messages are committed (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, only log for a specific class name It is possible to use multiple classes delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public PropertyOverridden.  Get or set the database connection associated with this logger  
Public Property Get or set the connection string (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public PropertyThe date format for the LogTime variable.
See the Date Format topic in the Basic Tasks Section of the Help File (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property The number of messages that have been logged for this logger (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, logging will only occur for the specific machine name It is possible to use multiple machines delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property Get or set the maximum number of entries before discarding of oldest entries occurs. Set to zero to disable. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public PropertyWhat to output in the log.
See the Message Format topic in the Basic Tasks Section of the Help File (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, only log for a specific method name It is possible to use multiple methods delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property The minimum logging level to log a message (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property Defines which mode to use for the target; Synchronous, Buffered, or Asynchronous. The default is Synchronous. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property The name of the logger (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, only log for a specific namespace. It is possible to use multiple namespaces delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property The parameter prefix used. The default is @  
Public Property Get or set the table name. Defaults to tblLog (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public Property If specified, logging will only occur for the thread id or thread name specified It is possible to use multiple thread names delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Property If specified, logging will only occur for the specific user name It is possible to use multiple users delimited by a comma and the asterisk wildcard. (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Top
Public Methods
 NameDescription
Public Method Delete all the records in the logging table (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public MethodOverridden.  Delete all the records in the log table  
Public Method Close the connection to the database if it is open (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public MethodOverloaded.  Clear asynchronous queue and close connections (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public Method Wait to write out buffered and asynchronous targets (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public Method Format a message with all selected options for the target (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Public MethodOverridden.  Insert a record into the log table  
Public Method Log a message to a database table (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Public MethodOverridden.  Open a database connection if it is not already open  
Public Method Discard the oldest entries that are greater than MaxEntries.  
Top
Protected Methods
 NameDescription
Protected Method Verify that the connection string and table name is set (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget)
Protected Method Post processing of formatting a message for each field (Inherited from KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget)
Top
See Also

Reference

OleDbTarget Class
KellermanSoftware.NetLoggingLibrary.Targets Namespace