Package com.jalios.jcms.logging
Class LoggingSetupAlarmListener
- java.lang.Object
-
- com.jalios.jcms.logging.LoggingSetupAlarmListener
-
- All Implemented Interfaces:
AlarmListener
public class LoggingSetupAlarmListener extends java.lang.Object implements AlarmListener
Alarm to restore logger level after a defined time- Since:
- jcms-10.0.8
-
-
Constructor Summary
Constructors Constructor Description LoggingSetupAlarmListener(org.apache.log4j.Level oldLevel, java.lang.String packageName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleAlarm(AlarmEntry entry)
Invoked when an alarm is triggered.
-
-
-
Method Detail
-
handleAlarm
public void handleAlarm(AlarmEntry entry)
Description copied from interface:AlarmListener
Invoked when an alarm is triggered.- Specified by:
handleAlarm
in interfaceAlarmListener
- Parameters:
entry
- the AlarmEntry which has been triggered.
-
-