Class LoggerProvider
Main UCLogger class that allow retrieving/creating a UCLogger object
Inherited Members
Namespace: Unity.Cloud.Common
Assembly: Unity.Cloud.Common.dll
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<(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.  |