]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.auditlogging/scl/Simantics/AuditLogging/Client.scl
Generic HTTP REST Client/Server AuditLogging framework
[simantics/platform.git] / bundles / org.simantics.auditlogging / scl / Simantics / AuditLogging / Client.scl
diff --git a/bundles/org.simantics.auditlogging/scl/Simantics/AuditLogging/Client.scl b/bundles/org.simantics.auditlogging/scl/Simantics/AuditLogging/Client.scl
new file mode 100644 (file)
index 0000000..f60474a
--- /dev/null
@@ -0,0 +1,15 @@
+import "Map" as Map
+
+importJava "org.simantics.audit.client.AuditLoggingClient" where
+    @JavaName sendLog
+    sendLogM :: Map.T String a -> <Proc> ()
+    sendLog :: [a] -> <Proc> ()
+
+    @JavaName sendError
+    sendErrorM :: Map.T String a -> <Proc> ()
+    sendError :: [a] -> <Proc> ()
+    
+    @JavaName sendTrace
+    sendTraceM :: Map.T String a -> <Proc> ()
+    sendTrace :: [a] -> <Proc> ()
+    
\ No newline at end of file