docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LogLevelUtilsBurstCompatible

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

    Inheritance
    object
    LogLevelUtilsBurstCompatible
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Logging
    Assembly: Unity.Logging.dll
    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)