public class JavaLogFactory extends Object implements LogFactory
LogFactory
,
JavaLogFactory.JavaLogger
Modifier and Type | Class and Description |
---|---|
static class |
JavaLogFactory.JavaLoggerLevel
A custom logging level defined between Level.SEVERE and Level.WARNING in logger.
|
Constructor and Description |
---|
JavaLogFactory()
Null argument constructor for this implementation of the LogFactory interface
needed for dynamic configuration.
|
Modifier and Type | Method and Description |
---|---|
static LogFactory |
getInstance() |
Logger |
getLogger(Class clazz)
Gets the logger associated with the specified class.
|
Logger |
getLogger(String moduleName)
Gets the logger associated with the specified module name.
|
public JavaLogFactory()
public static LogFactory getInstance()
public Logger getLogger(Class clazz)
getLogger
in interface LogFactory
clazz
- The name of the class requesting the logger.public Logger getLogger(String moduleName)
getLogger
in interface LogFactory
moduleName
- The name of the module requesting the logger.Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.