public interface LogFactory
Modifier and Type | Field and Description |
---|---|
static String |
ROOT_LOGGER_NAME
The name of the root Log.
|
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.
|
static final String ROOT_LOGGER_NAME
String getName()
void shutdown()
Log getLog(Class<?> clazz)
clazz
- The Class whose name should be used as the Log name.UnsupportedOperationException
- if clazz
is null
Log getLog(String name)
name
- The logger name.UnsupportedOperationException
- if name
is null
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.