Interface ILogger
-
- All Known Implementing Classes:
AbstractJavaLogger,AdvancedJavaLogger,EclipseLogger,FileLogger,JavaLogger
public interface ILoggerInterface for concrete Loggers, which can be handled by theEASyLoggerFactory.- Author:
- Sass
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddebug(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)Log an DEBUG message.voiderror(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)Log an ERROR message.voidexception(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)Log an EXCEPTION message.voidinfo(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)Log an INFO message.voidwarn(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)Log an WARN message.
-
-
-
Method Detail
-
info
void info(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)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
void error(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)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
void warn(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)Log an 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
void debug(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)Log an 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
void exception(java.lang.String msg, java.lang.Class<?> clazz, java.lang.String bundleName)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
-
-