public abstract class LogFactory extends Object
Constructor and Description |
---|
LogFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract Log |
createLogger(Class<?> clazz)
Creates logger named with full qualified class name.
|
protected abstract Log |
createLogger(String loggerName)
Creates logger with provided name.
|
static Log |
getLog(Class<?> clazz)
Gets logger from class.
|
static Log |
getLog(String name)
Gets logger from logger name.
|
public static Log getLog(Class<?> clazz)
clazz
- The logger will have the qualified class name as name.public static Log getLog(String name)
name
- The logger will have the provided name.protected abstract Log createLogger(Class<?> clazz)
clazz
- The logger will have the qualified class name as name.