XUnitLogger will dispose of messages after test completion.
This commit is contained in:
		@@ -23,7 +23,11 @@ namespace GameServiceWarden.Core.Tests
 | 
			
		||||
 | 
			
		||||
        public void LogMessage(string message, DateTime time, LogLevel level)
 | 
			
		||||
        {
 | 
			
		||||
            outputHelper.WriteLine($"[{time.ToShortTimeString()}][{level.ToString()}]: {message}");
 | 
			
		||||
            try
 | 
			
		||||
            {
 | 
			
		||||
                outputHelper.WriteLine($"[{time.ToShortTimeString()}][{level.ToString()}]: {message}");
 | 
			
		||||
            }
 | 
			
		||||
            catch (InvalidOperationException) { };
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user