ForSource(string)
Gets a new LogSource keeping all the configuration of the current instance, but for a source name.
Declaration
public LogSource ForSource(string sourceName)Parameters
| Type | Name | Description |
|---|---|---|
| string | sourceName | The name of the source for which the LogSource should be created. |
Returns
| Type | Description |
|---|---|
| LogSource | A LogSource for |