Class LoggerManager
java.lang.Object
edu.university.ecs.lab.common.services.LoggerManager
Static functions to manage logger object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Log a debug messagestatic void
Log an error messagestatic void
Log an info messageprivate static void
Log messagestatic void
Log a warning message
-
Field Details
-
logger
private static final org.apache.logging.log4j.Logger logger
-
-
Constructor Details
-
LoggerManager
public LoggerManager()
-
-
Method Details
-
info
Log an info message- Parameters:
msgSupplier
- the message to log
-
warn
Log a warning message- Parameters:
msgSupplier
- the message to log
-
debug
Log a debug message- Parameters:
msgSupplier
- the message to log
-
error
Log an error message- Parameters:
msgSupplier
- the message to log
-
log
Log message- Parameters:
level
- the logging levelmsgSupplier
- the message to log
-