Add and implement Logger.Error

This commit is contained in:
Matt Nadareski
2016-03-30 13:36:52 -07:00
parent 5d43c48a17
commit 2d4a4fa668
4 changed files with 34 additions and 24 deletions

View File

@@ -116,5 +116,15 @@ namespace SabreTools.Helper
return true;
}
/// <summary>
/// Writes the given string as an error in the log
/// </summary>
/// <param name="output">String to be written log</param>
/// <returns>True if the output could be written, false otherwise</returns>
public bool Error(string output)
{
return Log("Error: " + output);
}
}
}