2012-08-16 07:30:59 +00:00
|
|
|
|
#region Using Statements
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
// This file is part of the ANX.Framework created by the
|
|
|
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
|
|
|
// For details see: http://anxframework.codeplex.com/license
|
|
|
|
|
|
|
|
|
|
namespace ANX.Framework.Content.Pipeline
|
|
|
|
|
{
|
|
|
|
|
public abstract class ContentBuildLogger
|
|
|
|
|
{
|
2012-08-22 10:34:39 +00:00
|
|
|
|
private Stack<string> files = new Stack<string>();
|
|
|
|
|
|
2012-08-16 07:30:59 +00:00
|
|
|
|
protected ContentBuildLogger()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public abstract void LogImportantMessage(string message, params Object[] messageArgs);
|
|
|
|
|
public abstract void LogMessage(string message, params Object[] messageArgs);
|
|
|
|
|
public abstract void LogWarning(string helpLink, ContentIdentity contentIdentity, string message, params Object[] messageArgs);
|
|
|
|
|
|
|
|
|
|
public void PopFile()
|
|
|
|
|
{
|
2012-08-22 10:34:39 +00:00
|
|
|
|
files.Pop();
|
2012-08-16 07:30:59 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void PushFile(string filename)
|
|
|
|
|
{
|
2012-08-22 10:34:39 +00:00
|
|
|
|
files.Push(filename);
|
2012-08-16 07:30:59 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected string GetCurrentFilename(ContentIdentity contentIdentity)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|