Interface LogContext

All Known Subinterfaces:
AuthenticationContext, CommunicationContext, CustomContext, CustomRestContext, CustomRestUploadContext, DeleteContext, GenerateContext, GenericNotificationContext, GenericRequestContext, InsertContext, JobContext, NotificationContext, PhoneCallNotificationContext, PhoneCallRequestContext, PrintContext, PrintFinalContext, RefreshAuthenticationContext, RequestContext<R>, RuleContext, StateChangeContext, UpdateContext

public interface LogContext
LogContext represents a context with basic logging functionality.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    log(String message)
    This method uses log4j to log an info message into the log-files of the server
    void
    logError(String message, Exception ex)
    This method uses log4j to log an error into the log-files of the server.
    void
    logWarn(String message)
    This method uses log4j to log a warning message into the log-files of the server
  • Method Details

    • log

      void log(String message)
      This method uses log4j to log an info message into the log-files of the server
      Parameters:
      message -
    • logWarn

      void logWarn(String message)
      This method uses log4j to log a warning message into the log-files of the server
      Parameters:
      message -
    • logError

      void logError(String message, Exception ex)
      This method uses log4j to log an error into the log-files of the server. For this a message text and an exception can be passed as arguments
      Parameters:
      message -
      ex -