Struct LogController.SinkStruct
Burst-friendly way to represent a sink
Implements
Inherited Members
Namespace: Unity.Logging
Assembly: solution.dll
Syntax
public struct LogController.SinkStruct : IDisposable
Fields
Name | Description |
---|---|
Capture |
If non-zero - it captures stacktraces |
Formatter | Formatter that is used with this sink |
Last |
Last timestamp that this sink processed. Sink will ignore all timestamps less/equal that this |
Minimal |
Minimal level that this sink is interested in |
On |
Delegate called after the sink |
On |
Delegate called before the sink |
On |
Delegate called on dispose of this sink |
On |
Delegate called on message emit for this sink |
Output |
Output template that this sink should use |
User |
User data |
Properties
Name | Description |
---|---|
Capture |
True if sink needs stacktraces |
Is |
True if the sink was created |
Methods
Name | Description |
---|---|
Dispose() | Dispose the sink |
Get |
User's data attached |
Is |
Checks if the Log |
Process(ref Log |
Processes the LogMessage. |