iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

TraceLogger Constructor 

Creates a new instance of the TraceLogger.

[Visual Basic]
Public Sub New( _
   ByVal String As String, _
   ByVal LogLevel As LogLevel, _
   ByVal Boolean As Boolean, _
   ByVal Boolean As Boolean, _
   ByVal String As String _
)
[C#]
public TraceLogger(
   String logName,
   LogLevel logLevel,
   Boolean showDateTime,
   Boolean showLogName,
   String dateTimeFormat
);

Parameters

logName
The name for this instance (usually the fully qualified class name).
logLevel
The logging threshold. Log messages created with a LogLevel beneath this threshold will not be logged.
showDateTime
Include the current time in the log message
showLogName
Include the instance name in the log message
dateTimeFormat
The date and time format to use in the log message

See Also

TraceLogger Class | IBatisNet.Common.Logging.Impl Namespace