TraceSourceLoggingTypeSource(LoggingNamespaceSource, Type)
Initializes a new TraceSourceLoggingTypeSource.
Declaration
[Obsolete("Use the other constructor.")]
public TraceSourceLoggingTypeSource(LoggingNamespaceSource parent, Type type)
Parameters
Type | Name | Description |
---|---|---|
LoggingNamespaceSource | parent | The parent LoggingNamespaceSource. |
Type | type | The Type being logged. |
TraceSourceLoggingTypeSource(LoggingNamespaceSource, string, Type)
Initializes a new TraceSourceLoggingTypeSource.
Declaration
public TraceSourceLoggingTypeSource(LoggingNamespaceSource parent, string sourceName, Type type = null)
Parameters
Type | Name | Description |
---|---|---|
LoggingNamespaceSource | parent | The parent LoggingNamespaceSource. |
string | sourceName | Name for the log source. |
Type | type | The Type being logged, if any. |