java.lang.Object
org.seppiko.commons.logging.LoggingFactory
Logging factory
- Author:
- Leonard Woo
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected constructor that is not available for public use. -
Method Summary
Modifier and TypeMethodDescriptionstatic LogginggetLogging(Class<?> clazz) Return a logger named corresponding to the class passed as parameter, using the statically boundILoggingFactoryinstance.static LogginggetLogging(String name) Return a logger named according to the name parameter using the statically boundILoggingFactoryinstance.
-
Constructor Details
-
LoggingFactory
protected LoggingFactory()Protected constructor that is not available for public use.
-
-
Method Details
-
getLogging
Return a logger named according to the name parameter using the statically boundILoggingFactoryinstance.- Parameters:
name- the name of the logger.- Returns:
- log
-
getLogging
Return a logger named corresponding to the class passed as parameter, using the statically boundILoggingFactoryinstance.- Parameters:
clazz- the returned log will be named after clazz.- Returns:
- log
-