Package org.nuclos.api.context
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,TranslationContext,UpdateContext,ValidateUserInfoContext
public interface LogContext
LogContext represents a context with basic logging functionality.-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method uses log4j to log an info message into the log-files of the servervoidThis method uses log4j to log an error into the log-files of the server.voidThis method uses log4j to log a warning message into the log-files of the server
-
Method Details
-
log
This method uses log4j to log an info message into the log-files of the server- Parameters:
message-
-
logWarn
This method uses log4j to log a warning message into the log-files of the server- Parameters:
message-
-
logError
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-
-