SerilogLoggingTypeSource(LoggingNamespaceSource, Type)
Initializes a new SerilogLoggingTypeSource.
Declaration
[Obsolete("Use the other constructor.")]
public SerilogLoggingTypeSource(LoggingNamespaceSource parent, Type type)
Parameters
Type | Name | Description |
---|---|---|
LoggingNamespaceSource | parent | The parent LoggingNamespaceSource. |
Type | type | The Type being logged. |
SerilogLoggingTypeSource(LoggingNamespaceSource, string, Type)
Initializes a new SerilogLoggingTypeSource.
Declaration
public SerilogLoggingTypeSource(LoggingNamespaceSource parent, string sourceName, Type type)
Parameters
Type | Name | Description |
---|---|---|
LoggingNamespaceSource | parent | The parent LoggingNamespaceSource. |
string | sourceName | Name of the log source. Usually the full name of the type being logged. |
Type | type | The Type being logged. Optional. |