-
- All Implemented Interfaces:
public class Log
-
-
Method Summary
Modifier and Type Method Description final static Unitv(LogTag tag, String message)final static Unitv(LogTag tag, String format, Object args)final static Unitd(LogTag tag, String message)final static Unitd(LogTag tag, String format, Object args)final static Uniti(LogTag tag, String message)final static Unitw(LogTag tag, String message)final static Unitw(LogTag tag, String format, Object args)final static Unite(LogTag tag, String message)final static Unite(LogTag tag, String message, Throwable e)final static Unite(LogTag tag, Throwable e, String format, Object args)final List<String>getMessagesWithTags(String message, LogTag tag)Constructs a log message with thread tag and log tag appended with the pattern "Log Tag Name Message"e.g. final static BooleancanLog(LogLevel level)final LogLevelgetLogLevel()final UnitsetLogLevel(LogLevel logLevel)final LoggergetLogger()-
-
Method Detail
-
getMessagesWithTags
final List<String> getMessagesWithTags(String message, LogTag tag)
Constructs a log message with thread tag and log tag appended with the pattern "Log Tag Name Message"
e.g. SYSTEM Registration successful
If tags + message is too long for Logcat (over 4068 characters), chunk into messages it can handle with the pattern "Log Tag NameMessage Chunk Current/Message Chunks Total Message"
e.g. ENGAGEMENT MANIFEST1/21 EngagementManifest...
-
getLogLevel
final LogLevel getLogLevel()
-
setLogLevel
final Unit setLogLevel(LogLevel logLevel)
-
-
-
-