Mercurial Hosting > luan
view src/luan/lib/logging/LoggerFactory.java @ 1338:5d414f5d34e8
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 17 Feb 2019 04:54:52 -0700 |
parents | 8b61c8c4e07a |
children |
line wrap: on
line source
package luan.lib.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); } }