コード例 #1
0
 public static ILogger GetNLogLogger(
     this ITestOutputHelper testOutputHelper,
     string loggerName,
     bool addNumericSuffix = false)
 {
     return(LogManager.GetLogger(TestOutputHelpers.AddTestOutputHelper(testOutputHelper, loggerName, addNumericSuffix)));
 }
コード例 #2
0
 public static void RemoveTestOutputHelper(this ILogger logger)
 {
     TestOutputHelpers.RemoveTestOutputHelper(logger.Name);
 }