docs.unity3d.com
    Show / Hide Table of Contents

    Class LoggerProvider

    Main UCLogger class that allow retrieving/creating a UCLogger object

    Inheritance
    Object
    LoggerProvider
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Common
    Syntax
    public static class LoggerProvider

    Methods

    GetLogger(String)

    Initializes and returns a logger with a specified name.

    Declaration
    public static UCLogger GetLogger(string typeFullName)
    Parameters
    Type Name Description
    String typeFullName

    The logger name.

    Returns
    Type Description
    UCLogger

    The logger.

    GetLogger<T>()

    Initializes and returns a logger for a specified type.

    Declaration
    public static UCLogger GetLogger<T>()
    Returns
    Type Description
    UCLogger

    The logger.

    Type Parameters
    Name Description
    T

    The type for the logger.

    GetLogger<T>(IEnumerable<(String, Object)>)

    Initializes and returns a logger for a specified type and property collection.

    Declaration
    public static UCLogger GetLogger<T>(IEnumerable<(string, object)> properties)
    Parameters
    Type Name Description
    IEnumerable<(T1, T2)<String, Object>> properties

    The properties to be tracked by the logger.

    Returns
    Type Description
    UCLogger

    The logger.

    Type Parameters
    Name Description
    T

    The type for the logger.

    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