public class JulLogFactory extends Object implements LogFactory
ROOT_LOGGER_NAME
Constructor and Description |
---|
JulLogFactory() |
Modifier and Type | Method and Description |
---|---|
Log |
getLog(Class<?> clazz)
Returns a Log using the fully qualified name of the Class as the Log
name.
|
Log |
getLog(String name)
Returns a Log with the specified name.
|
String |
getName()
Return the name of the Log subsystem managed by this factory
|
void |
shutdown()
Shutdown the logging system if the logging system supports it.
|
public JulLogFactory()
public String getName()
getName
in interface LogFactory
public void shutdown()
shutdown
in interface LogFactory
public Log getLog(Class<?> clazz)
getLog
in interface LogFactory
clazz
- The Class whose name should be used as the Log name.public Log getLog(String name)
getLog
in interface LogFactory
name
- The logger name.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.