```c#
Logger.Log("An error occurred while compiling Document.FilePath:\n" + ex);