log4net SDK Reference |

# LoggerManager.GetLogger Method (Assembly, Type)

Shorthand for GetLogger.

[Visual Basic]
Overloads Public Shared Function GetLogger( _
ByVal repositoryAssembly As Assembly, _
ByVal type As Type _
) As ILogger
[C#]
public static ILogger GetLogger(
Assembly repositoryAssembly,
Type type
);

#### Parameters

repositoryAssembly
  the assembly to use to lookup the repository
type
  The type of which the fullname will be used as the name of the logger to retrieve.

#### Return Value

The logger with the name specified.

#### Remarks

Gets the logger for the fully qualified name of the type specified.

#### See Also

LoggerManager Class | log4net.Core Namespace | LoggerManager.GetLogger Overload List