Package com.castlabs.logutils
Interface Log.Logger
- Enclosing class:
Log
public static interface Log.Logger
Logger interface that receives logging messages.
You can register loggers with the Log.addLogger(Logger) method.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCastlabsLog(int level, String tag, String msg, Throwable tr) A log message is triggered.
-
Method Details
-
onCastlabsLog
A log message is triggered.NOTE: This method will be called for every log message regardless the value of
Log.getLogLevel().- Parameters:
level- The Log leveltag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.msg- The logged message.tr- Logged exception, if any. May be null.
-