NLogLoggingTypeSource(LoggingNamespaceSource, Type)
Initializes a new NLogLoggingTypeSource.
Declaration
[Obsolete("Use the other constructor.")]
public NLogLoggingTypeSource(LoggingNamespaceSource parent, Type type)
Parameters
Type | Name | Description |
---|---|---|
LoggingNamespaceSource | parent | The parent LoggingNamespaceSource. |
Type | type | The Type being logged. |
NLogLoggingTypeSource(LoggingNamespaceSource, string, Type)
Initializes a new NLogLoggingTypeSource.
Declaration
public NLogLoggingTypeSource(LoggingNamespaceSource parent, string loggerName, Type type = null)
Parameters
Type | Name | Description |
---|---|---|
LoggingNamespaceSource | parent | The parent LoggingNamespaceSource. |
string | loggerName | The fullname of the Type being logged, usually. |
Type | type | The Type being logged, if this is based on a type. |