public class LogFactory extends Object
ILogProvider to obtain
log objects.| Constructor and Description |
|---|
LogFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ILog |
getLog(Class type)
Obtain the logging object via the provider
|
static ILog |
getLog(String name)
Obtain the logging object via the provider
|
static void |
setLogProvider(ILogProvider logProvider)
Set the log provider.
|
public static void setLogProvider(ILogProvider logProvider)
logProvider - the log providerpublic static ILog getLog(Class type)
type - the class name; uses the full class name as the log nameILogProvider.getLog(String)public static ILog getLog(String name)
name - the log nameILogProvider.getLog(String)