Sites

Menu

ForwardingDispatcher Class

Namespace: Improbable.Gdk.Core
GDK package: Core
Source

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

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums