Mercurial Hosting > luan
view src/goodjava/logging/LoggerFactory.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; public abstract class LoggerFactory { public static LoggerFactory implementation = new Log4jFactory(); protected abstract Logger getLoggerImpl(Class cls); protected abstract Logger getLoggerImpl(String name); public static Logger getLogger(Class cls) { return implementation.getLoggerImpl(cls); } public static Logger getLogger(String name) { return implementation.getLoggerImpl(name); } }