Interface LoggerCreator

All Known Implementing Classes:
DefaultLoggerCreator

public interface LoggerCreator
Allows to create a neutral sl4fj Logger that thus will support many implementations.
Author:
Nicolas de Pomereu
  • Method Summary

    Modifier and Type Method Description
    Map<String,​String> getElements()
    Return the elements of the Logger: name, fileNamePattern, etc.
    org.slf4j.Logger getLogger()
    Returns the Logger as sl4fj instance
  • Method Details

    • getLogger

      org.slf4j.Logger getLogger() throws IOException
      Returns the Logger as sl4fj instance
      Returns:
      the Logger as sl4fj instance
      Throws:
      IOException - if any I/O error occurs at Logger creation
    • getElements

      Map<String,​String> getElements()
      Return the elements of the Logger: name, fileNamePattern, etc. This allows to give admin users info about the Logger when stating the programe. Implementation is free.
      Returns:
      the elements of the Logger