Ejemplo n.º 1
0
 /// <summary>
 /// Creates a logger with the given logger name.
 /// </summary>
 /// <param name="loggerName">The name of Logger which will be created.</param>
 /// <returns>An instance of <c>ILogger</c>.</returns>
 private static ILogger GetLog4netLogger(string loggerName)
 {
     return(Log4netLoggerManager.GetLogger(Assembly.GetExecutingAssembly(), loggerName));
 }
Ejemplo n.º 2
0
 public static ILogger GetLog4netLogger(string loggerName)
 {
     return(Log4netLoggerManager.GetLogger(DefaultRepository, loggerName));
 }