Commits

Matteo Bertini committed a746578

Log only in debug builds

  • Participants
  • Parent commits d0b4b63

Comments (0)

Files changed (1)

src/it/slug/circularsliderule/CircularSlideRuleView.java

 			}
 		}
 		canvas.save();
-		Log.d("DEBUG", "X: " + mPosX + " Y: " + mPosY + " rot: " + rotation);
+        if (BuildConfig.DEBUG)
+			Log.d("DEBUG", "X: " + mPosX + " Y: " + mPosY + " rot: " + rotation);
 		TicPainter tics = new TicPainter();
 		tics.drawRuler(canvas, true);
 		canvas.rotate(rotation);