Mercurial Hosting > luan
view src/goodjava/logging/Logger.java @ 1437:3e185b27f982
Http.request.body
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 07 Jan 2020 21:03:57 -0700 |
parents | 27efb1fcbcb5 |
children | 6fc083e1d08c |
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 void debug(String msg); public void debug(String msg,Throwable t); }