ForwardingDispatcher Class

Namespace: Improbable.Gdk.CoreSource

Forwards logEvents and exceptions to the SpatialOS Console and logs locally.

Inheritance

Improbable.Gdk.Core.ILogDispatcher


Properties

Worker Source
Worker Worker { get; set; }


WorkerType Source
string WorkerType { get; set; }


Constructors

ForwardingDispatcher Source
ForwardingDispatcher(LogType minimumLogLevel = LogType.Warning)

Constructor for the Forwarding Dispatcher

Parameters
  • LogType minimumLogLevel : The minimum log level to forward logs to the SpatialOS runtime.


Methods

HandleLog Source
void HandleLog(LogType type, LogEvent logEvent)

Log locally and conditionally forward to the SpatialOS runtime.

Parameters

Dispose Source
void Dispose()

Unregisters callbacks and ensures that the SpatialOS connection is no longer referenced

Updated about a year ago


ForwardingDispatcher Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.