docs.unity3d.com
    Show / Hide Table of Contents

    Interface IDiagnosticsFactory

    Component to get or create the proper IDiagnostics for a given package.

    Namespace: Unity.Services.Core.Telemetry.Internal
    Syntax
    public interface IDiagnosticsFactory : IServiceComponent

    Properties

    CommonTags

    All tags shared among all diagnostics events generated by IDiagnostics created by this factory.

    Declaration
    IReadOnlyDictionary<string, string> CommonTags { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<String, String>

    Methods

    Create(String)

    Create a IDiagnostics setup with common tags for the given packageName.

    Declaration
    IDiagnostics Create(string packageName)
    Parameters
    Type Name Description
    String packageName

    The name of the package that will use the created IDiagnostics to send diagnostic events. Example value: "com.unity.services.core"

    Returns
    Type Description
    IDiagnostics

    Return a IDiagnostics setup with common tags for the given packageName.

    Back to top
    Terms of use
    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