private static string GetDisplayMessage(Logger.Entry entry)
        {
            var message = entry.Exc != null ? $"{entry.Message} {entry.Exc}" : entry.Message;

            switch (entry.Severity)
            {
                case Logger.Severity.Debug:
                case Logger.Severity.Info:
                    break;
                case Logger.Severity.Warn:
                    message = string.Concat("Warning: ", message);
                    break;
                case Logger.Severity.Error:
                    message = string.Concat("ERROR: ", message);
                    break;
                case Logger.Severity.Critical:
                    message = string.Concat("CRITICAL ERROR: ", message);
                    break;
            }

            return message;
        }
 public static void Write(Logger.Entry entry, ITestOutputHelper outputHelper)
 {
     outputHelper.WriteLine(GetDisplayMessage(entry));
 }