diff --git a/SabreTools.Helper/Logger.cs b/SabreTools.Helper/Logger.cs
index 347d03d6..894064c7 100644
--- a/SabreTools.Helper/Logger.cs
+++ b/SabreTools.Helper/Logger.cs
@@ -158,6 +158,34 @@ namespace SabreTools.Helper
return true;
}
+ ///
+ /// Write the given exact string to the log output
+ ///
+ /// String to be written log
+ /// Severity of the information being logged
+ /// True if the output could be written, false otherwise
+ public bool LogExact(string output)
+ {
+ Console.Write(output);
+
+ // If we're writing to file, use the existing stream
+ if (_tofile)
+ {
+ try
+ {
+ _log.Write(DateTime.Now + " - " + output);
+ _log.Flush();
+ }
+ catch
+ {
+ Console.WriteLine("Could not write to log file!");
+ return false;
+ }
+ }
+
+ return true;
+ }
+
///
/// Write the given string as a user message to the log output
///