docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UCLogger

    Class used to do the actual logging from dev code.

    Inheritance
    object
    UCLogger
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Common
    Assembly: Unity.Cloud.Common.dll
    Syntax
    public class UCLogger

    Properties

    Name

    The UCLogger's name.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    Properties

    The UCLogger's tracked properties.

    Declaration
    public IReadOnlyDictionary<string, object> Properties { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, object>

    Methods

    AddOrUpdateProperty(string, object)

    Add or update a tracked property.

    Declaration
    public void AddOrUpdateProperty(string name, object value)
    Parameters
    Type Name Description
    string name

    The property name.

    object value

    The property.

    RemoveProperty(string)

    Remove a tracked property.

    Declaration
    public void RemoveProperty(string name)
    Parameters
    Type Name Description
    string name

    The property name.

    Extension Methods

    LoggerExtension.LogCritical(UCLogger, Exception)
    LoggerExtension.LogCritical(UCLogger, Exception, string, params object[])
    LoggerExtension.LogCritical(UCLogger, string, params object[])
    LoggerExtension.LogDebug(UCLogger, Exception)
    LoggerExtension.LogDebug(UCLogger, Exception, string, params object[])
    LoggerExtension.LogDebug(UCLogger, string, params object[])
    LoggerExtension.LogError(UCLogger, Exception)
    LoggerExtension.LogError(UCLogger, Exception, string, params object[])
    LoggerExtension.LogError(UCLogger, string, params object[])
    LoggerExtension.LogInformation(UCLogger, Exception)
    LoggerExtension.LogInformation(UCLogger, Exception, string, params object[])
    LoggerExtension.LogInformation(UCLogger, string, params object[])
    LoggerExtension.LogTrace(UCLogger, Exception)
    LoggerExtension.LogTrace(UCLogger, Exception, string, params object[])
    LoggerExtension.LogTrace(UCLogger, string, params object[])
    LoggerExtension.LogWarning(UCLogger, Exception)
    LoggerExtension.LogWarning(UCLogger, Exception, string, params object[])
    LoggerExtension.LogWarning(UCLogger, string, params object[])
    In This Article
    Back to top
    Copyright © 2024 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)