Package oracle.stellent.ridc.common.log
Class LogFactory
java.lang.Object
oracle.stellent.ridc.common.log.LogFactory
Calls into the currently active
ILogProvider to obtain
log objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ILogObtain the logging object via the providerstatic ILogObtain the logging object via the providerstatic voidsetLogProvider(ILogProvider logProvider) Set the log provider.
-
Constructor Details
-
LogFactory
public LogFactory()
-
-
Method Details
-
setLogProvider
Set the log provider. Note: this should be called before other classes access the LogFactory.- Parameters:
logProvider- the log provider
-
getLog
Obtain the logging object via the provider- Parameters:
type- the class name; uses the full class name as the log name- Returns:
- the log object
- See Also:
-
getLog
Obtain the logging object via the provider- Parameters:
name- the log name- Returns:
- the log object
- See Also:
-