Logger
interface Logger
Interface for logging. Implementations should provide methods for different log levels.
Users can implement this interface to use a logging library, such as Timber.
The msg parameter 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.