-
public interface LoggerA logger interface for logging messages at different levels.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumLogger.Level
-
Method Summary
-
-
Method Detail
-
log
abstract Unit log(Logger.Level level, String tag, Throwable throwable, Function0<String> message)
Logs a message at the specified level with an optional throwable.
- Parameters:
level- The log level.tag- A tag to identify the source of the log message.throwable- An optional throwable associated with the log message.message- A lambda that produces the log message.
-
-
-
-