본문 바로가기
Programing/Android / Java

[Android/안드로이드] 손 쉬운 DEBUG Log 관리 방법

by CtrlCV맨 2019. 3. 11.
728x90

public static final boolean DEBUG = !BuildConfig.BUILD_TYPE.equals("release");

if (DEBUG) Log.d(TAG, "xxxxxxxx");

728x90