]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.auditlogging/scl/Simantics/AuditLogging/Client.scl
AuditLogging improvements for easier unit testing
[simantics/platform.git] / bundles / org.simantics.auditlogging / scl / Simantics / AuditLogging / Client.scl
1 import "Map" as Map
2
3 importJava "org.simantics.audit.client.AuditLoggingClient" where
4
5     @JavaName fromProps
6     auditLoggingClient :: Map.T a a -> <Proc> b 
7
8     @JavaName getUUID
9     getAuditLoggingUUID :: <Proc> String
10
11     @JavaName sendLog
12     sendLogM :: Map.T String a -> <Proc> ()
13     sendLog :: [a] -> <Proc> ()
14
15     @JavaName sendError
16     sendErrorM :: Map.T String a -> <Proc> ()
17     sendError :: [a] -> <Proc> ()
18     
19     @JavaName sendTrace
20     sendTraceM :: Map.T String a -> <Proc> ()
21     sendTrace :: [a] -> <Proc> ()
22