Get SpatialOS

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

Connection Source
Connection Connection { get; set; }

WorkerType Source
string WorkerType { get; set; }


Constructors

ForwardingDispatcher Source
ForwardingDispatcher(LogLevel minimumLogLevel = LogLevel.Warn)

Constructor for the Forwarding Dispatcher

Parameters
  • LogLevel 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