Class JSConsole
A jurassic class for exposing a console to javascript called in decision models.
Inherited Members
ObjectInstance.GetPropertyValue(PropertyReference)
ObjectInstance.ToString()
ObjectInstance.ToLocaleString()
ObjectInstance.ValueOf()
ObjectInstance.PopulateFunctions()
ObjectInstance.PopulateFields()
ObjectInstance.Engine
ObjectInstance.Prototype
ObjectInstance.Properties
ObjectInstance.OwnKeys
Namespace: Quantellia.WMServer.Execution.Model.JS
Assembly: WMServer.dll
Syntax
public class JSConsole : ObjectInstance
Constructors
JSConsole(ScriptEngine)
Jurassic constructor.
Declaration
public JSConsole(ScriptEngine engine)
Parameters
| Type | Name | Description |
|---|---|---|
| ScriptEngine | engine |
Methods
Log(object?)
Exposes the ability to log information from javascript in decision models to the Quantellia.WMServer.Logger. When calling this function in javascript, use "console.log(...)"
Declaration
[JSFunction(Name = "log")]
public static void Log(object? var)
Parameters
| Type | Name | Description |
|---|---|---|
| object | var |