source: java/main/src/main/java/com/framsticks/running/LoggingOutputListener.java @ 193

Last change on this file since 193 was 193, checked in by Maciej Komosinski, 10 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
File size: 557 bytes
Line 
1package com.framsticks.running;
2
3import org.apache.logging.log4j.Logger;
4import org.apache.logging.log4j.LogManager;
5
6import com.framsticks.params.EventListener;
7import com.framsticks.params.annotations.FramsClassAnnotation;
8import com.framsticks.structure.messages.ValueChange;
9
10@FramsClassAnnotation
11public class LoggingOutputListener implements EventListener<ValueChange> {
12        private static final Logger log =
13                LogManager.getLogger(LoggingOutputListener.class);
14
15
16        @Override
17        public void action(ValueChange change) {
18                log.info(change.toString());
19        }
20
21}
Note: See TracBrowser for help on using the repository browser.