Class SinkSystemBase
Base Sink class that implements SinkSystemBase
Implements
Inherited Members
Namespace: Unity.Logging.Sinks
Assembly: solution.dll
Syntax
[BurstCompile]
public abstract class SinkSystemBase : IDisposable
Fields
Name | Description |
---|---|
Handle | Logger's handle that owns the sink |
Is |
True if Sink was initialized and can run 'Update' |
Sink |
Id of this sink in the logger |
System |
Sink |
Methods
Name | Description |
---|---|
Dispose() | See IDisposable. Used to dispose all the resources associated with this sink. |
Get |
Get minimal log level that this Sink is interested in |
Initialize(Logger, Sink |
Method to initialize the sink |
Needs |
Returns true if this sink is interested in the stack traces. |
On |
If any error happens - this method will self-log it and set IsInitialized to false, disabling the sink |
Schedule |
Schedule update for this sink. Usually schedules an internal SinkJob. |
Set |
Set minimal log level that this Sink is interested in |
To |
SinkStruct that is burst-compatible struct that represents this sink |