anx.framework/Tools/ANXContentCompilerGUI/CCompilerBuildLogger.cs
SND\eagleeyestudios_cp 9b842c7fd8 Content Compiler:
- Fixed some resource issues
- Implemented RecentProjects Feature
- Implemented build process
- Added a Logger implementation for BuildContent Class
- Added a displayable log to the MainWindow UI
- Fixed a bug that occured when adding files to the content root
- Trying to open a not existing project no longer throws an exception

ContentPipeline:
- Added missing property "Profile" to ContentProject
2012-09-09 15:44:49 +00:00

24 lines
932 B
C#

using System;
using ANX.Framework.Content.Pipeline;
namespace ANX.ContentCompiler.GUI
{
public class CCompilerBuildLogger : ContentBuildLogger
{
public override void LogImportantMessage(string message, params object[] messageArgs)
{
MainWindow.Instance.ribbonTextBox.AddMessage("[IMPORTANT] " + String.Format(message, messageArgs));
}
public override void LogMessage(string message, params object[] messageArgs)
{
MainWindow.Instance.ribbonTextBox.AddMessage("[Info] " + String.Format(message, messageArgs));
}
public override void LogWarning(string helpLink, ContentIdentity contentIdentity, string message,
params object[] messageArgs)
{
MainWindow.Instance.ribbonTextBox.AddMessage("[WARNING] " + String.Format(message, messageArgs));
}
}
}