Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.modellib/models/ALogService.room')
-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 3a946c1ce..d6f91e3c9 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();"
}

Back to the top