automatic full logging in debug mode
This commit is contained in:
parent
1178357b4a
commit
3c9d01a347
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ package io.github.sspanak.tt9;
|
|||
import android.util.Log;
|
||||
|
||||
public class Logger {
|
||||
public static int LEVEL = Log.ERROR;
|
||||
public static int LEVEL = BuildConfig.DEBUG ? Log.DEBUG : Log.ERROR;
|
||||
|
||||
static public void v(String tag, String msg) {
|
||||
if (LEVEL <= Log.VERBOSE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue