org.apache.pluto.portalImpl.services.log
Class StandardOutLogService
java.lang.Object
org.apache.pluto.portalImpl.services.Service
org.apache.pluto.portalImpl.services.log.LogService
org.apache.pluto.portalImpl.services.log.StandardOutLogService
public class StandardOutLogService
- extends LogService
Defines a LogService that may be used when
one has not been registered with the ServiceManager.
This is specifically usefull in cases, such as
when the Deployer is run, in which no Service are
registered.
The StandardOutLogService is implemented as a
Singleton since all log messages will be going
to StandardOut no matter what! Since all behaivior
will be identical, there's no reason to create
multiple instances.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static Logger logger
service
private static LogService service
StandardOutLogService
private StandardOutLogService()
getInstance
public static LogService getInstance()
getLogger
public Logger getLogger(java.lang.String aComponent)
getLogger
public Logger getLogger(java.lang.Class klass)