Axiom.Scripting.ParseHelper.LogParserError C# (CSharp) Méthode

LogParserError() public static méthode

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
Résultat 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 );
		}