GetLogger(Type)
Gets an instance of the IFlashtraceLogger for a specific Type.
Declaration
IFlashtraceLogger GetLogger(Type type)Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type of the source code that will emit the records. |
Returns
| Type | Description |
|---|---|
| IFlashtraceLogger | An instance of the IFlashtraceLogger interface for |
GetLogger(string)
Gets an instance of the IFlashtraceLogger interface for a specific sourceName. The name will
usually, but not always, be a type name.
Declaration
IFlashtraceLogger GetLogger(string sourceName)Parameters
| Type | Name | Description |
|---|---|---|
| string | sourceName | Name identifying the returned logger. The backend creates a logger based on this name. |
Returns
| Type | Description |
|---|---|
| IFlashtraceLogger |