docs.unity3d.com
    Show / Hide Table of Contents

    Class LogLevelUtilsBurstCompatible

    Static class with utility burst compatible functions for LogLevel - FixedString32Bytes convertion

    Inheritance
    Object
    LogLevelUtilsBurstCompatible
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023