Package com.castlabs.utils
Interface Log.Logger
-
- Enclosing class:
- Log
public static interface Log.LoggerLogger interface that receives logging messages.You can register loggers with the
Log.addLogger(Logger)method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCastlabsLog(int level, String tag, String msg, Throwable tr)A log message is triggered.
-
-
-
Method Detail
-
onCastlabsLog
void onCastlabsLog(int level, @NonNull String tag, @Nullable String msg, @Nullable Throwable tr)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.
-
-