Interface Logger
- All Known Implementing Classes:
BaseLogger,OutputControllerLoggerFactory.OutputControllerLogger,SystemOutLoggerFactory.SystemOutLogger
public interface Logger
Simple logger interface based on SLF4J.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidLog a message at theDEBUGlevel.voidLog a message at theDEBUGlevel.voidLog a message and an exception at theDEBUGlevel.voidLog a message at theERRORlevel.voidLog a message at theERRORlevel.voidLog a message and an exception at theERRORlevel.voidLog a message at theINFOlevel.voidLog a message at theINFOlevel.voidLog a message and an exception at theINFOlevel.voidLog a message at theWARNlevel.voidLog a message at theWARNlevel.voidLog a message and an exception at theWARNlevel.
-
Method Details
-
debug
Log a message at theDEBUGlevel.- Parameters:
msg- the message to be logged
-
debug
Log a message at theDEBUGlevel. Replace{}with the given arguments- Parameters:
msg- the message to be loggedarguments- a list of 3 or more arguments for replacement
-
debug
Log a message and an exception at theDEBUGlevel.- Parameters:
msg- the message to be loggedt- the exception to be logged
-
info
Log a message at theINFOlevel.- Parameters:
msg- the message to be logged
-
info
Log a message at theINFOlevel. Replace{}with the given arguments- Parameters:
msg- the message to be loggedarguments- a list of 3 or more arguments for replacement
-
info
Log a message and an exception at theINFOlevel.- Parameters:
msg- the message to be loggedt- the exception to be logged
-
warn
Log a message at theWARNlevel.- Parameters:
msg- the message to be logged
-
warn
Log a message at theWARNlevel. Replace{}with the given arguments- Parameters:
msg- the message to be loggedarguments- a list of 3 or more arguments for replacement
-
warn
Log a message and an exception at theWARNlevel.- Parameters:
msg- the message to be loggedt- the exception to be logged
-
error
Log a message at theERRORlevel.- Parameters:
msg- the message to be logged
-
error
Log a message at theERRORlevel. Replace{}with the given arguments- Parameters:
msg- the message to be loggedarguments- a list of 3 or more arguments for replacement
-
error
Log a message and an exception at theERRORlevel.- Parameters:
msg- the message to be loggedt- the exception to be logged
-