Package net.ssehub.easy.basics.logger
Interface ILogger
- All Known Implementing Classes:
AbstractJavaLogger,AdvancedJavaLogger,FileLogger,JavaLogger
public interface ILogger
Interface for concrete Loggers, which can be handled by the
EASyLoggerFactory.- Author:
- Sass
-
Method Summary
Modifier and TypeMethodDescriptionvoidLog a DEBUG message.voidLog an ERROR message.voidLog an EXCEPTION message.voidLog an INFO message.voidLog a WARN message.
-
Method Details
-
info
Log an INFO message. If the logger is currently enabled for the INFO message level then the given message is forwarded to all the registered output Handler objects.- Parameters:
msg- The string message (or a key in the message catalog)clazz- The class where the message was createdbundleName- Name of the bundle where the message was created
-
error
Log an ERROR message. If the logger is currently enabled for the ERROR message level then the given message is forwarded to all the registered output Handler objects.- Parameters:
msg- The string message (or a key in the message catalog)clazz- The class where the message was createdbundleName- Name of the bundle where the message was created
-
warn
Log a WARN message. If the logger is currently enabled for the WARN message level then the given message is forwarded to all the registered output Handler objects.- Parameters:
msg- The string message (or a key in the message catalog)clazz- The class where the message was createdbundleName- Name of the bundle where the message was created
-
debug
Log a DEBUG message. If the logger is currently enabled for the DEBUG message level then the given message is forwarded to all the registered output Handler objects.- Parameters:
msg- The string message (or a key in the message catalog)clazz- The class where the message was createdbundleName- Name of the bundle where the message was created
-
exception
Log an EXCEPTION message. If the logger is currently enabled for the EXCEPTION message level then the given message is forwarded to all the registered output Handler objects.- Parameters:
msg- The string message (or a key in the message catalog)clazz- The class where the message was createdbundleName- Name of the bundle where the message was created
-