log4net SDK Reference |

# LogManager.GetLoggerRepository Method ()

NOTE: This method is now obsolete.

Use GetRepository instead of GetLoggerRepository

Returns the default ILoggerRepository instance.

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

#### 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.GetLoggerRepository Overload List