{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct ArgumentInfo | Unity Logging | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ArgumentInfo

    Parsed Argument/Hole data. See https://messagetemplates.org/ for Holes

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Logging
    Assembly: solution.dll
    Syntax
    public readonly struct ArgumentInfo

    Constructors

    Name Description
    ArgumentInfo(int, FixedString512Bytes, DestructingType, FixedString512Bytes, int)

    Constructor of the ArgumentInfo

    Fields

    Name Description
    Alignment

    Alignment that is specified after ','

    BuiltInLevelId

    Builtin code for the level context argument

    BuiltInMessage

    Builtin code for the message context argument

    BuiltInNewLine

    Builtin code for the newline context argument

    BuiltInProperties

    Builtin code for the properties context argument

    BuiltInStackTrace

    Builtin code for the stacktrace context argument

    BuiltInTimestampId

    Builtin code for the timestamp context argument

    Destructing

    See ArgumentInfo.DestructingType

    Format

    Format that is specified after ':'

    Index

    Indexed hole (if no Name was specified)

    IsValidByte

    Non-Zero if created

    Name

    Name of the hole

    Type

    ArgumentInfo.HoleType of this hole.

    Properties

    Name Description
    IsBuiltIn

    True if the ArgumentInfo.HoleType is not built-in, but user defined.

    IsValid

    True if created

    Methods

    Name Description
    Number(int)

    Create a hole from a number (index)

    ParseArgument(byte*, int, in ParseSegment)

    Parses ArgumentInfo from UTF8 string's segment

    RetrieveContextArgumentIndex(in byte*, in ParseSegment, bool)

    Returns an index of the context argument to use in WriteMessage or builtin code

    In This Article
    Back to top
    Copyright © 2023 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)