Axiom.Scripting.ParseHelper.LogParserError C# (CSharp) 메소드

LogParserError() 공개 정적인 메소드

Helper method to log a formatted error when encountering problems with parsing an attribute.
public static LogParserError ( string attribute, string context, string reason ) : void
attribute string
context string
reason string
리턴 void
		public static void LogParserError( string attribute, string context, string reason )
		{
			string error = string.Format( "Bad {0} attribute in block '{1}'. Reason: {2}", attribute, context, reason );

			LogManager.Instance.Write( error );
		}