-
public interface RiveLog.LoggerInterface for logging. Implementations should provide methods for different log levels.
Users can implement this interface to use a logging library, such as Timber.
The
msgparameter is a lambda to allow lazy evaluation of the log message, which can improve performance by avoiding unnecessary string concatenation when the log level is not enabled.
-
-
Method Summary
Modifier and Type Method Description Unitv(String tag, Function0<String> msg)Log verbose. Unitd(String tag, Function0<String> msg)Log debug. Uniti(String tag, Function0<String> msg)Log info. Unitw(String tag, Function0<String> msg)Log warning. Unite(String tag, Throwable t, Function0<String> msg)Log error.
-