Parent Directory | Revision Log
Simplify notifiers
1 | package dk.thoerup.curcuitbreaker.notification; |
2 | |
3 | import java.util.logging.Logger; |
4 | |
5 | public class JavaLogNotifier implements Notifier { |
6 | |
7 | Logger logger = Logger.getLogger(JavaLogNotifier.class.getName()); |
8 | |
9 | public void sendNotification(String breakerName, Event evnt) { |
10 | |
11 | logger.warning("Circuitbreaker " + breakerName + " : " + evnt.toString() ); |
12 | } |
13 | |
14 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |