Class UCLogger
Class used to do the actual logging from dev code.
Inherited Members
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. |