1 package de.matthias_burbach.mosaique.core.util; 2 3 /*** 4 * Is a log for infos, warnings and errors. 5 * 6 * @author Matthias Burbach 7 */ 8 public interface Log { 9 /*** 10 * For information messages. 11 */ 12 String SEVERITY_INFO = "INFO"; 13 14 /*** 15 * For warning messages. 16 */ 17 String SEVERITY_WARNING = "WARNING"; 18 19 /*** 20 * For error messages. 21 */ 22 String SEVERITY_ERROR = "ERROR"; 23 24 /*** 25 * @param severity One of {@link #SEVERITY_INFO}, {@link #SEVERITY_WARNING}, 26 * {@link #SEVERITY_ERROR}. 27 * @param message The message to log. 28 */ 29 void log(String severity, String message); 30 }