private void SendMessage(TestMessageLevel level, string?filename, string message) { var fileNameText = string.IsNullOrEmpty(filename) ? string.Empty : $"{filename} "; InnerLogger.SendMessage(level, $"[NodeJS TestAdapter {Stopwatch.Elapsed:hh\\:mm\\:ss\\.ff}] {fileNameText}{message}"); }
void SendMessage(TestMessageLevel level, string assemblyName, string message) { var assemblyText = assemblyName == null ? "" : $"{Path.GetFileNameWithoutExtension(assemblyName)}: "; InnerLogger.SendMessage(level, $"[xUnit.net {Stopwatch.Elapsed:hh\\:mm\\:ss\\.ff}] {assemblyText}{message}"); }