org.apache.tapestry5.ioc
Interface LoggerSource

All Known Implementing Classes:
LoggerSourceImpl

public interface LoggerSource

A wrapper around SLF4J's LoggerFactory that exists to allow particular projects to "hook" the creation of Logger instances.


Method Summary
 org.slf4j.Logger getLogger(Class clazz)
          Creates or retrieves a log based on Class.
 org.slf4j.Logger getLogger(String name)
          Creates or retrieves a log based on name.
 

Method Detail

getLogger

org.slf4j.Logger getLogger(Class clazz)
Creates or retrieves a log based on Class. This is rarely used in Tapestry IOC.


getLogger

org.slf4j.Logger getLogger(String name)
Creates or retrieves a log based on name. Typically, the name will be a service id.



Copyright © 2003-2012 The Apache Software Foundation.