X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.runtime%2Fscl%2FLogging.scl;h=e8446dc3c28e80c7d6782f2c208c896776778f7a;hp=67f48ecd2538c4e92fabce9ad94c9cd84b5c87f5;hb=79b952a1ea3ae3f299c6d7aa612a98b7ae5db51a;hpb=9845a372968046da2f1e99a37ca550ce8f38fb31 diff --git a/bundles/org.simantics.scl.runtime/scl/Logging.scl b/bundles/org.simantics.scl.runtime/scl/Logging.scl index 67f48ecd2..e8446dc3c 100644 --- a/bundles/org.simantics.scl.runtime/scl/Logging.scl +++ b/bundles/org.simantics.scl.runtime/scl/Logging.scl @@ -4,4 +4,8 @@ include "LoggingMDC" as MDC importJava "org.slf4j.MarkerFactory" where // Note: this method is pure by purpose, because MarkerFactory should always return the same marker @JavaName getMarker - marker :: String -> Marker \ No newline at end of file + marker :: String -> Marker + +importJava "org.simantics.scl.runtime.reporting.SCLReporting" where + "Redirects print commands to INFO level logging and printErrors to ERROR level logging." + printingToLogging :: ( a) -> a \ No newline at end of file