| 程序包 | 说明 |
|---|---|
| com.ds.common.logging |
Simple wrapper API around multiple logging APIs.
|
| com.ds.common.logging.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static ClassLoader |
LogFactory.getContextClassLoader()
Return the thread context class loader if available.
|
static LogFactory |
LogFactory.getFactory(String configKey)
Construct (if necessary) and return a
LogFactory instance. |
abstract Log |
LogFactory.getInstance(Class clazz)
Convenience method to derive a name from the specified class and
call
getInstance(String) with it. |
abstract Log |
LogFactory.getInstance(String name)
Construct (if necessary) and return a
Log instance,
using the factory's current set of configuration attributes. |
static Log |
LogFactory.getLog(String configKey,
Class clazz)
Convenience method to return a named logger, without the application
having to care about factories.
|
static Log |
LogFactory.getLog(String configKey,
String name)
Convenience method to return a named logger, without the application
having to care about factories.
|
protected static LogFactory |
LogFactory.newFactory(String factoryClass,
ClassLoader classLoader)
Return a new instance of the specified
LogFactory
implementation class, loaded by the specified class loader. |
| 限定符和类型 | 方法和说明 |
|---|---|
Log |
LogFactoryImpl.getInstance(Class clazz)
Convenience method to derive a name from the specified class and
call
getInstance(String) with it. |
Log |
LogFactoryImpl.getInstance(String name)
Construct (if necessary) and return a
Log instance,
using the factory's current set of configuration attributes. |
protected Constructor |
LogFactoryImpl.getLogConstructor()
Return the
Constructor that can be called to instantiate
new Log instances. |
protected Log |
LogFactoryImpl.newInstance(String name)
Create and return a new
Log
instance for the specified name. |
Copyright © 2023 onecode. All rights reserved.