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 String getName()
getName in interface LogFactorypublic void shutdown()
shutdown in interface LogFactorypublic Log getLog(Class<?> clazz)
getLog in interface LogFactoryclazz - The Class whose name should be used as the Log name.public Log getLog(String name)
getLog in interface LogFactoryname - The logger name.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.