Class PerThreadData
Class that is used by logging to save some per-thread data for logging management. Usually stores thread's LoggerHandle that is currently used
Inherited Members
Namespace: Unity.Logging
Assembly: Unity.Logging.dll
Syntax
public static class PerThreadData
Properties
ThreadLoggerHandle
Current LoggerHandle in this thread. Used internally by mirror struct's implicit constructors
Declaration
public static LoggerHandle ThreadLoggerHandle { get; set; }
Property Value
Type | Description |
---|---|
LoggerHandle |
Methods
Initialize()
Initialize static data
Declaration
[BurstDiscard]
public static void Initialize()
Reset()
Reset all per thread data
Declaration
public static void Reset()