Changed!: Remove TermuxConstants reference from Logger and set DEFAULT_LOG_TAG at application startup

Plugin apps must do the same
This commit is contained in:
agnostic-apollo
2021-10-26 08:00:45 +05:00
parent 8e506859a6
commit 6ff5572999
3 changed files with 28 additions and 8 deletions

View File

@@ -190,7 +190,7 @@ public class StreamGobbler extends Thread {
@Override
public void run() {
String defaultLogTag = Logger.DEFAULT_LOG_TAG;
String defaultLogTag = Logger.getDefaultLogTag();
boolean loggingEnabled = Logger.shouldEnableLoggingForCustomLogLevel(mLogLevel);
if (loggingEnabled)
Logger.logVerbose(LOG_TAG, "Using custom log level: " + mLogLevel + ", current log level: " + Logger.getLogLevel());