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

ConsoleOutLogger Constructor 

Creates and initializes a logger that writes messages to Out.

[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 ConsoleOutLogger(
   String logName,
   LogLevel logLevel,
   Boolean showDateTime,
   Boolean showLogName,
   String dateTimeFormat
);

Parameters

logName
The name, usually type name of the calling class, of the logger.
logLevel
The current logging threshold. Messages recieved that are 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

ConsoleOutLogger Class | IBatisNet.Common.Logging.Impl Namespace