Class Slf4jFactory
- java.lang.Object
-
- com.aquima.interactions.foundation.logging.java.Slf4jFactory
-
- All Implemented Interfaces:
ILogFactory
public class Slf4jFactory extends Object implements ILogFactory
A LogFactory which uses the org.slf4j logging toolkit.- Since:
- 7.4
- Author:
- Jon van Leuven
-
-
Constructor Summary
Constructors Constructor Description Slf4jFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Logger
getLogger(Class<?> classobject)
Retrieves a logger for a name, mostly used for std:out adapters and jsps or aspx pages.Logger
getLogger(String name)
Retrieves a logger for a name, mostly used for stdout adapters and jsps or aspx pages.
-
-
-
Method Detail
-
getLogger
public Logger getLogger(String name)
Description copied from interface:ILogFactory
Retrieves a logger for a name, mostly used for stdout adapters and jsps or aspx pages.- Specified by:
getLogger
in interfaceILogFactory
- Parameters:
name
- the name of the logger.- Returns:
- Logger object which should never return null.
-
getLogger
public Logger getLogger(Class<?> classobject)
Description copied from interface:ILogFactory
Retrieves a logger for a name, mostly used for std:out adapters and jsps or aspx pages.- Specified by:
getLogger
in interfaceILogFactory
- Parameters:
classobject
- The class which is tied to this logger.- Returns:
- Logger object which should never return null.
-
-