Class LogOutputs
Manages all log outputs
Inherited Members
Namespace: Unity.Cloud.Common
Syntax
public static class LogOutputs
Properties
Outputs
The current list of ILogOutput.
Declaration
public static IReadOnlyList<ILogOutput> Outputs { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<ILogOutput> |
Methods
Add(ILogOutput)
Adds a ILogOutput to the list of outputs.
Declaration
public static void Add(ILogOutput logOutput)
Parameters
Type | Name | Description |
---|---|---|
ILogOutput | logOutput | The log output to add. |
Clear()
Clear all log outputs.
Declaration
public static void Clear()
Remove(ILogOutput)
Removes a ILogOutput from the list of outputs.
Declaration
public static bool Remove(ILogOutput logOutput)
Parameters
Type | Name | Description |
---|---|---|
ILogOutput | logOutput | The log output to remove. |
Returns
Type | Description |
---|---|
Boolean | Whether the output was removed from the list. |