public static List <ILogger> GetCurrentLoggers(string containerName) { if (containerName == null) { throw new ArgumentNullException("containerName"); } return(ContainerChooser.GetContainer(containerName).CurrentLoggers); }
public static ILogger GetLogger(string containerName, string name) { if (containerName == null) { throw new ArgumentNullException("containerAssembly"); } if (name == null) { throw new ArgumentNullException("name"); } return(ContainerChooser.GetContainer(containerName).GetLogger(name)); }