log4net SDK Reference

ILoggerFactory.CreateLogger Method 

Create a new Logger instance

[Visual Basic]
Function CreateLogger( _
   ByVal name As String _
) As Logger
[C#]
Logger CreateLogger(
   string name
);

Parameters

name
The name of the Logger.

Return Value

The Logger instance for the specified name.

Remarks

Create a new Logger instance with the specified name.

Called by the Hierarchy to create new named Logger instances.

If the name is null then the root logger must be returned.

See Also

ILoggerFactory Interface | log4net.Repository.Hierarchy Namespace