Class LogLevelUtilsBurstCompatible
Static class with utility burst compatible functions for LogLevel - Unity.Collections.FixedString32Bytes convertion
Inherited Members
Namespace: Unity.Logging
Assembly: Unity.Logging.dll
Syntax
public static class LogLevelUtilsBurstCompatible
Methods
Parse(in FixedString32Bytes)
Converts Unity.Collections.FixedString32Bytes to LogLevel
Declaration
public static LogLevel Parse(in FixedString32Bytes str)
Parameters
Type | Name | Description |
---|---|---|
FixedString32Bytes | str | FixedString32Bytes representation of LogLevel |
Returns
Type | Description |
---|---|
LogLevel | LogLevel that was in Unity.Collections.FixedString32Bytes |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | If cannot match the LogLevel |
ToFixedString(in LogLevel)
Converts LogLevel to Unity.Collections.FixedString32Bytes
Declaration
public static FixedString32Bytes ToFixedString(in LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | Log Level to convert |
Returns
Type | Description |
---|---|
FixedString32Bytes | Unity.Collections.FixedString32Bytes for LogLevel |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | If unknown level specified. |