org.apache.pluto.services.log
Interface LogService

All Superinterfaces:
ContainerService

public interface LogService
extends ContainerService

Implemented in order to provides access to a custom Logger implementation. The Logger provides component aware logging capabilities.


Method Summary
 Logger getLogger(java.lang.Class klass)
          Used to retrieve a Logger implementation which can be used to log information for the given Class.
 Logger getLogger(java.lang.String component)
          Used to retrieve a Logger implementation which can be used to log information for the given component.
 

Method Detail

getLogger

Logger getLogger(java.lang.String component)
Used to retrieve a Logger implementation which can be used to log information for the given component.

Parameters:
component - the component for which the desired logger should be retrieved.
Returns:
logger implementation associated with the named component.

getLogger

Logger getLogger(java.lang.Class klass)
Used to retrieve a Logger implementation which can be used to log information for the given Class.

Parameters:
klass - the class for which the desired logger should be retrieved.
Returns:
logger implementation associated with the specified Class.


Copyright © 2003-2009 . All Rights Reserved.