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 | |
---|
1 | package com.framsticks.running; |
---|
2 | |
---|
3 | import org.apache.logging.log4j.Logger; |
---|
4 | import org.apache.logging.log4j.LogManager; |
---|
5 | |
---|
6 | import com.framsticks.params.EventListener; |
---|
7 | import com.framsticks.params.annotations.FramsClassAnnotation; |
---|
8 | import com.framsticks.structure.messages.ValueChange; |
---|
9 | |
---|
10 | @FramsClassAnnotation |
---|
11 | public 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.