NLog.Config.ServiceRepository public abstract class ServiceRepository : IServiceProvider Interface to register available configuration objects type Documentation public abstract object GetService(Type serviceType) Gets the service object of the specified type. public abstract void RegisterService(Type type, object instance) Registers instance of singleton object for use in NLog