Android examples for App:Log
Log lower Than message
//package com.java2s; import android.util.Log; public class Main { public static void lowerThan(int value, int end, String message) { if (value >= end) { Log.d("TTT", "Value : " + value + " | Compared: " + end); throw new IllegalArgumentException(message); }// w ww .ja va2 s. com } public static void lowerThan(int value, int end) { lowerThan(value, end, null); } }