Common Logging 2.0 API Reference

AbstractSimpleLoggerFactoryAdapter.CreateLogger(String, LogLevel, Boolean, Boolean, Boolean, String) Method

Derived factories need to implement this method to create the actual logger instance.

[Visual Basic]
Protected MustOverride Overloads Sub CreateLogger( _
   ByVal name As String, _
   ByVal level As LogLevel, _
   ByVal showLevel As Boolean, _
   ByVal showDateTime As Boolean, _
   ByVal showLogName As Boolean, _
   ByVal dateTimeFormat As String _
)
[C#]
protected abstract ILog CreateLogger(
   string name,
   LogLevel level,
   bool showLevel,
   bool showDateTime,
   bool showLogName,
   string dateTimeFormat
);

Return Value

a new logger instance. Must never be null!

See Also

AbstractSimpleLoggerFactoryAdapter Class | Common.Logging.Simple Namespace | AbstractSimpleLoggerFactoryAdapter.CreateLogger Overload List