fix: Logcat tag compatibility

Change tag prefix to remove colon and space
This commit is contained in:
xehpuk 2026-01-21 00:08:46 +01:00
parent 87247590de
commit 628d0c4823

View file

@ -45,7 +45,7 @@ public class Logger {
/** /**
* Log tag prefix. Only used for system logging. * Log tag prefix. Only used for system logging.
*/ */
private static final String REVANCED_LOG_TAG_PREFIX = "revanced: "; private static final String REVANCED_LOG_TAG_PREFIX = "revanced.";
private static final String LOGGER_CLASS_NAME = Logger.class.getName(); private static final String LOGGER_CLASS_NAME = Logger.class.getName();
@ -114,7 +114,7 @@ public class Logger {
logText += stackTrace.substring(loggerBegins); logText += stackTrace.substring(loggerBegins);
} }
// Do not include "revanced:" prefix in clipboard logs. // Do not include "revanced." prefix in clipboard logs.
String managerToastString = className + ": " + logText; String managerToastString = className + ": " + logText;
LogBufferManager.appendToLogBuffer(managerToastString); LogBufferManager.appendToLogBuffer(managerToastString);