Definition
public static void WriteIf( bool condition, string message, string category );
Parameters
conditionSystem.Boolean. messageSystem.String. categorySystem.String.