Package 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

  Modifier and Type
  Method
  Description
  `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 Details

  - ### 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.