Package fr.gouv.vitam.common.alert
Class AlertServiceImpl
- java.lang.Object
-
- fr.gouv.vitam.common.alert.AlertServiceImpl
-
- All Implemented Interfaces:
AlertService
public class AlertServiceImpl extends java.lang.Object implements AlertService
Security alert service implementation. This service log the messages in a specific file using VitamLogger.
-
-
Constructor Summary
Constructors Constructor Description AlertServiceImpl()AlertServiceImpl(VitamLogger lOGGER)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateAlert(VitamLogLevel level, java.lang.String message)Create an alert with the specified message and levelvoidcreateAlert(java.lang.String message)Create an alert with the specified message and level INFO
-
-
-
Constructor Detail
-
AlertServiceImpl
public AlertServiceImpl()
-
AlertServiceImpl
public AlertServiceImpl(VitamLogger lOGGER)
-
-
Method Detail
-
createAlert
public void createAlert(VitamLogLevel level, java.lang.String message)
Description copied from interface:AlertServiceCreate an alert with the specified message and level- Specified by:
createAlertin interfaceAlertService
-
createAlert
public void createAlert(java.lang.String message)
Description copied from interface:AlertServiceCreate an alert with the specified message and level INFO- Specified by:
createAlertin interfaceAlertService
-
-