summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjung2012-01-24 02:37:11 (EST)
committertjung2012-01-24 02:37:11 (EST)
commitec85fadf44a27b77b29883c7b902902e2d432155 (patch)
tree3dd069d8289a3b5514cbdfd6cfd0bfaf5351a948
parente0d45f9d3ce14f12066da9b041f77eda8c954a73 (diff)
downloadorg.eclipse.etrice-ec85fadf44a27b77b29883c7b902902e2d432155.zip
org.eclipse.etrice-ec85fadf44a27b77b29883c7b902902e2d432155.tar.gz
org.eclipse.etrice-ec85fadf44a27b77b29883c7b902902e2d432155.tar.bz2
Log Service improved
-rw-r--r--runtime/org.eclipse.etrice.modellib/models/ALogService.room9
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/org.eclipse.etrice.modellib/models/ALogService.room b/runtime/org.eclipse.etrice.modellib/models/ALogService.room
index 3a946c1..d6f91e3 100644
--- a/runtime/org.eclipse.etrice.modellib/models/ALogService.room
+++ b/runtime/org.eclipse.etrice.modellib/models/ALogService.room
@@ -72,6 +72,12 @@ RoomModel room.basic.service.logging {
}
ProtocolClass Log {
+ usercode2 {
+ "public static final int LOG_LEVEL_LOW = 1;"
+ "public static final int LOG_LEVEL_MEDIUM = 2;"
+ "public static final int LOG_LEVEL_HIGH = 3;"
+ }
+
incoming {
Message open(fileName: string)
Message close()
@@ -80,9 +86,6 @@ RoomModel room.basic.service.logging {
conjugate PortClass {
usercode {
- "public static final int LOG_LEVEL_LOW = 1;"
- "public static final int LOG_LEVEL_MEDIUM = 2;"
- "public static final int LOG_LEVEL_HIGH = 3;"
"static int logLevel=0;"
"InternalLogData d = new InternalLogData();"
}