Beispiel #1
0
 /// <summary>
 /// Returns all the currently defined loggers in the specified assembly's domain.
 /// </summary>
 /// <param name="assembly">the assembly to use to lookup the domain</param>
 /// <remarks>
 /// The root logger is <b>not</b> included in the returned array.
 /// </remarks>
 /// <returns>All the defined loggers</returns>
 public static IWebLog[] GetCurrentLoggers(Assembly assembly)
 {
     return(WebLogManager.WrapLoggers(LoggerManager.GetCurrentLoggers(assembly)));
 }
Beispiel #2
0
 /// <summary>
 /// Returns all the currently defined loggers in the specified domain.
 /// </summary>
 /// <param name="domain">the domain to lookup in</param>
 /// <remarks>
 /// The root logger is <b>not</b> included in the returned array.
 /// </remarks>
 /// <returns>All the defined loggers</returns>
 public static IWebLog[] GetCurrentLoggers(string domain)
 {
     return(WebLogManager.WrapLoggers(LoggerManager.GetCurrentLoggers(domain)));
 }