Android Open Source - qcn Logger






From Project

Back to project page qcn.

License

The source code is released under:

GNU General Public License

If you think the Android project qcn listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package zsoltmester.qcn.tools;
//from   www .  j  a  v  a 2  s  .co m
import android.util.Log;

public class Logger {
  
  private final boolean IS_RELEASE_MODE = false;
  
  private String logTag;
  
  private Logger(String logTag) {
    this.logTag = logTag;
  }
  
  public static Logger createWithLogTag(String logTag) {
    return new Logger(logTag);
  }
  
  public void log(String message) {
    if (IS_RELEASE_MODE) {
      // Nothing to log in release.
      return;
    }
    
    Log.d(logTag, message);
  }
}




Java Source Code List

zsoltmester.qcn.desktop.ContactFragment.java
zsoltmester.qcn.desktop.DesktopActivity.java
zsoltmester.qcn.quickcircle.CoverEventReceiver.java
zsoltmester.qcn.quickcircle.QuickCircleBaseActivity.java
zsoltmester.qcn.quickcircle.notifications.NotificationActivity.java
zsoltmester.qcn.quickcircle.notifications.NotificationAdapter.java
zsoltmester.qcn.quickcircle.notifications.NotificationHelper.java
zsoltmester.qcn.quickcircle.notifications.NotificationListener.java
zsoltmester.qcn.tools.Logger.java
zsoltmester.qcn.ui.SimpleOnGestureListenerWithDoubleTapSupport.java