fix: Logcat tag compatibility
Change tag prefix to remove colon and space
This commit is contained in:
parent
87247590de
commit
628d0c4823
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue