Class LogLevelUtilsBurstCompatible
Static class with utility burst compatible functions for LogLevel - FixedString32Bytes convertion
Inherited Members
Namespace: Unity.Logging
Syntax
public static class LogLevelUtilsBurstCompatible
Methods
Parse(in FixedString32Bytes)
Converts 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 FixedString32Bytes |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | If cannot match the LogLevel |
ToFixedString(in LogLevel)
Converts LogLevel to FixedString32Bytes
Declaration
public static FixedString32Bytes ToFixedString(in LogLevel level)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | Log Level to convert |
Returns
Type | Description |
---|---|
FixedString32Bytes | FixedString32Bytes for LogLevel |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | If unknown level specified. |