Mercurial Hosting > luan
view src/goodjava/logging/Logger.java @ 1453:928be2a4d565
fix postgres backup
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 15:09:10 -0700 |
parents | 6fc083e1d08c |
children | 219f2b937f2b |
line wrap: on
line source
package goodjava.logging; // Because slf4j is an overcomplicated mess that caches loggers when it shouldn't. public interface Logger { public void error(String msg); public void error(String msg,Throwable t); public void warn(String msg); public void warn(String msg,Throwable t); public void info(String msg); public void info(String msg,Throwable t); public boolean isInfoEnabled(); public void debug(String msg); public void debug(String msg,Throwable t); public boolean isDebugEnabled(); }