All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.dev.dig.logger.BaseLogger Maven / Gradle / Ivy

Go to download

Simple abstraction to log interface for java applications (support Android)

There is a newer version: 1.3.0
Show newest version
package br.dev.dig.logger;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public interface BaseLogger {
    @FunctionalInterface
    interface Message {
        @NotNull CharSequence generate();
    }

    void log(int level, @Nullable final String tag, @NotNull final Message message, @Nullable final Throwable throwable);

    void log(int level, @Nullable final String tag, @Nullable final CharSequence message, @Nullable final Throwable throwable);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy