PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​Trace­SourceTrace­Source­Logging­Type­SourceTrace­Source­Logging­Type­Source
Open sandboxFocus

TraceSourceLoggingTypeSource Constructor

TraceSourceLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new TraceSourceLoggingTypeSource.

Declaration
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.