log4net SDK Reference |

# LogManager.GetRepository Method (Assembly)

Returns the default ILoggerRepository instance.

[Visual Basic]
Overloads Public Shared Function GetRepository( _
ByVal repositoryAssembly As Assembly _
) As ILoggerRepository
[C#]
public static ILoggerRepository GetRepository(
Assembly repositoryAssembly
);

#### Parameters

repositoryAssembly
  The assembly to use to lookup the repository.

#### Return Value

The default ILoggerRepository instance.

#### Remarks

Gets the ILoggerRepository for the repository specified by the repositoryAssembly argument.

#### See Also

LogManager Class | log4net Namespace | LogManager.GetRepository Overload List