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

com.teamscale.report.util.ILogger Maven / Gradle / Ivy

There is a newer version: 34.2.0
Show newest version
package com.teamscale.report.util;

/**
 * Minimal logging interface.
 * 

* We use this to work around some strange problems when using log4j from the Teamscale Gradle plugin. */ public interface ILogger { /** Logs at debug level. */ void debug(String message); /** Logs at info level. */ void info(String message); /** Logs at warning level. */ void warn(String message); /** Logs at warning level. The given {@link Throwable} may be null. */ void warn(String message, Throwable throwable); /** Logs at error level. */ void error(Throwable throwable); /** Logs at error level. The given {@link Throwable} may be null. */ void error(String message, Throwable throwable); /** Logs at error level. */ default void error(String message) { error(message, null); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy