log4net SDK Reference |

# LogManager.GetRepository Method ()

Returns the default ILoggerRepository instance.

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

#### Return Value

The ILoggerRepository instance for the default repository.

#### Remarks

Gets the ILoggerRepository for the repository specified by the callers assembly (GetCallingAssembly).

#### See Also

LogManager Class | log4net Namespace | LogManager.GetRepository Overload List