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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.slf4j.Logger getLogger​(java.lang.Class clazz)
      Creates or retrieves a log based on Class.
      org.slf4j.Logger getLogger​(java.lang.String name)
      Creates or retrieves a log based on name.
    • Method Detail

      • getLogger

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

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