NET Logging Library
OdbcTarget Class
Members 



KellermanSoftware.NetLoggingLibrary.Targets Namespace : OdbcTarget Class
Log to an ODBC Database. Although rolling is supported, the database table will need to be created manually.
The default table name is tblLog. Here are the column names and types:
LogId OdbcType.Int LogDate OdbcType.DateTime
Message OdbcType.Text
Additional OdbcType.Text
ElapsedMilliseconds OdbcType.Real
LogLevel OdbcType.VarChar
MachineName OdbcType.VarChar
UserName OdbcType.VarChar
ProcessName OdbcType.VarChar
CallingMethod OdbcType.VarChar
LineNumber OdbcType.VarChar
Syntax
<XmlIncludeAttribute(KellermanSoftware.NetLoggingLibrary.Targets.AspTraceTarget)>
<SerializableAttribute()>
Public Class OdbcTarget 
   Inherits BaseDatabaseTarget
   Implements ICloseConnectionIDatabaseRollingITarget 
Dim instance As OdbcTarget
[XmlInclude(KellermanSoftware.NetLoggingLibrary.Targets.AspTraceTarget)]
[Serializable()]
public class OdbcTarget : BaseDatabaseTarget, ICloseConnectionIDatabaseRollingITarget  
[XmlInclude(KellermanSoftware.NetLoggingLibrary.Targets.AspTraceTarget)]
[Serializable()]
public ref class OdbcTarget : public BaseDatabaseTarget, ICloseConnectionIDatabaseRollingITarget  
Inheritance Hierarchy

System.Object
   KellermanSoftware.NetLoggingLibrary.Targets.BaseTarget
      KellermanSoftware.NetLoggingLibrary.Targets.BaseDatabaseTarget
         KellermanSoftware.NetLoggingLibrary.Targets.OdbcTarget

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

OdbcTarget Members
KellermanSoftware.NetLoggingLibrary.Targets Namespace