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 theLogger
: name, fileNamePattern, etc.org.slf4j.Logger
getLogger()
Returns the Logger as sl4fj instance
-
Method Details
-
getLogger
Returns the Logger as sl4fj instance- Returns:
- the Logger as sl4fj instance
- Throws:
IOException
- if any I/O error occurs at Logger creation
-
getElements
Return the elements of theLogger
: name, fileNamePattern, etc. This allows to give admin users info about theLogger
when stating the programe. Implementation is free.- Returns:
- the elements of the Logger
-