NET Logging Library
KellermanSoftware.NetLoggingLibrary.Targets Namespace
Inheritance Hierarchy
Definitions for different logging destinations
Classes
 ClassDescription
Class Log to ASP.NET Trace
Class Used internally to asynchronously log for any target
Class 
Class Log to an Azure database. When the first log entry is written, if the log table does not exist, it will be automatically set up.
Class The target that all database targets inherit from
Class The base class for all custom loggers that write to a file.
Class Base target for writing to an file in isolated storage
Class Base Target that all internal targets derrive
Class Log to a compact binary file
Class Used internally to log chunks of messages when the LoggingMode is Buffered
Class Log to a real time log viewer, Chainsaw. http://logging.apache.org/chainsaw/
Class Log to the console and colorize the output depending upon the log level. Debug is Green, Info is Cyan, Warn is Yellow, Error is Red, and Fatal is Magenta
Class Log to the console using Console.Write
Class Lot to a CSV file. The default is log.csv in the current directory
Class Log to a data table
Class Log using System.Diagnostics.Debug.Write
Class For each message logged to this target, an email is sent
Class Log a message to the event log
Class Log to a file. Default file name is Log.txt
Class Log to a Firebird database. When the first log entry is written, if the log table does not exist, it will be automatically set up.
Class Log to an HTML file. The default is log.htm in the current directory
Class Post a log entry to a web page
Class Log to a CSV file in Isolated Storage
Class Log to an isolated storage file
Class Log to an HTML file in isolated storage. The default is log.htm in the current isolated storage directory
Class Log to an XML file in isolated storage
Class Log to Log4View Log Viewer via UDP. Defaults to IP Address 127.0.0.1 and Port of 878
Class Log to a memory stream
Class Log to a WinForm MessageBox
Class Log to an Access database. When the first log entry is written, if the log table does not exist, it will be automatically set up.
Class Microsoft Message Queue Target
ClassLog to a MySQL Database. By default a stored procedure and a log table is automatically created when the first entry is logged.
The default table name is tblLog and the default stored procedure name is SPINSERTTBLLOG
Class Log to the NLog Viewer
Class Do not log anywhere. Used for performance testing.
ClassLog 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
ClassLog to an OLEDB 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:
LogDate OleDbType.DBTimeStamp
Message OleDbType.VarChar
Additional OleDbType.VarChar
ElapsedMilliseconds OleDbType.Decimal
LogLevel OleDbType.VarChar, 50
MachineName OleDbType.VarChar, 100
UserName OleDbType.VarChar, 100
ProcessName OleDbType.VarChar, 100
CallingMethod OleDbType.VarChar, 255
LineNumber OleDbType.VarChar, 100
ClassLog to an Oracle Database. By default a stored procedure and a log table is automatically created when the first entry is logged.
The default table name is tblLog and the default stored procedure name is SPINSERTTBLLOG
Class Log to a performance counter
Class Log to ASP.NET Response.Write
Class Log to a Winform Rich Textbox
Class Log to a SQLite database. When the first log entry is written, if the log table does not exist, it will be automatically set up.
ClassLog to a SQL Server Database. By default a stored procedure and a log table is automatically created when the first entry is logged.
The default table name is tblLog and the default stored procedure name is spinsert_tbllog
Class Log a message to a String Builder
ClassLog to an Sybase Database Using ODBC. 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
Class Log to a TCP/IP Port
Class Log messages to telnet
Class Log to a WinForm textbox
Class Log to .NET Framework Trace
Class Log to a UDP target
Class Log to a web service
Class Log to a Wpf RichTextBox
Class
Class Log to a file using the XmlLog4jLayout. Default file name is Log.xml
Class Log to an XML file in the current directory. The default is Log.xml
Interfaces
 InterfaceDescription
Interface Defines the contract for automatically creating stored procedure for logging
Interface Contract for automatically creating a logging table in a database
Interface Interface for closing a connection
Interface Contract for discarding the maximum entries in a database table
Interface The provider implements Identity or Auto Increment Columns
Interface Interface that all logging targets must implement
See Also

Reference

KellermanSoftware.NET-Logging-Library Assembly