| |
|
| java.lang.Object com.sun.portal.log.common.PortalLogger
PortalLogger | public class PortalLogger (Code) | | Use this API to get the portal specific logger. It does additional house-keeping
jobs on loggers so as to overcome container-specific settings.
This is just a proxy to the Logger class.
|
Method Summary | |
protected static void | addRootLogger(String rootLoggerName) | public static Logger | getLogger(Class cls) Returns the Logger for the class object. | public static Logger | getLogger(String name) Returns the Logger for the specified name.
This method is used by those classes that do not follow
com.sun.portal namespace. |
addRootLogger | protected static void addRootLogger(String rootLoggerName)(Code) | | Add the root logger to the list of loggers and also to the LoggersList
Parameters: rootLoggerName - |
getLogger | public static Logger getLogger(Class cls)(Code) | | Returns the Logger for the class object.
Derives the package name from the class object and uses it
to create the Logger.
Parameters: cls - a class object the Logger |
getLogger | public static Logger getLogger(String name)(Code) | | Returns the Logger for the specified name.
This method is used by those classes that do not follow
com.sun.portal namespace. This is used in place if the
above method getLogger(Class cls) .
Parameters: name - the package name the Logger |
|
|
|