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 |
IsInitialized | True if Sink was initialized and can run 'Update' |
SinkId | Id of this sink in the logger |
SystemConfig | SinkConfiguration that was used to setup the sink |
Methods
Name | Description |
---|---|
Dispose() | See IDisposable. Used to dispose all the resources associated with this sink. |
GetMinimalLogLevel() | Get minimal log level that this Sink is interested in |
Initialize(Logger, SinkConfiguration) | Method to initialize the sink |
NeedsStackTrace() | Returns true if this sink is interested in the stack traces. |
OnSinkFatalError(FixedString512Bytes) | If any error happens - this method will self-log it and set IsInitialized to false, disabling the sink |
ScheduleUpdate(LogControllerScopedLock, JobHandle) | Schedule update for this sink. Usually schedules an internal SinkJob. |
SetMinimalLogLevel(LogLevel) | Set minimal log level that this Sink is interested in |
ToSinkStruct() | SinkStruct that is burst-compatible struct that represents this sink |