org.hippoecm.hst.logging
Interface LoggerFactory

All Known Implementing Classes:
Slf4jLoggerFactory

public interface LoggerFactory

Wrapper interface to a LoggerFactory instance of HST Container.

By using this interface, a component can retrieve a Logger instance to leave logs in the container's logging context. Also, some core components in hst-commons library cannot access to a specific logging implementation like slf4j. For this reason, the components in hst-commons should get instance from the container to leave a log message.

Version:
$Id: LoggerFactory.java 29302 2011-08-04 00:16:45Z wko $

Method Summary
 Logger getLogger(String name)
          Returns HST Logger with the category name
 Logger getLogger(String name, String fqcn)
          Returns HST Logger with the category name and wrapper logger fqcn used to find logging location
 

Method Detail

getLogger

Logger getLogger(String name)
Returns HST Logger with the category name

Parameters:
name -
Returns:

getLogger

Logger getLogger(String name,
                 String fqcn)
Returns HST Logger with the category name and wrapper logger fqcn used to find logging location

Parameters:
name -
fqcn -
Returns:


Copyright © 2008-2012 Hippo. All Rights Reserved.