PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Trace­Source Namespace / Trace­Source­Logging­Type­Source Class / Trace­Source­Logging­Type­Source Constructor / Trace­Source­Logging­Type­Source Constructor (Logging­Namespace­Source, String, Type)

TraceSourceLoggingTypeSource Constructor (LoggingNamespaceSource, String, Type)

Initializes a new TraceSourceLoggingTypeSource.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.TraceSource
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Tracing (in PostSharp.Patterns.Diagnostics.Backends.Tracing.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public TraceSourceLoggingTypeSource(
	LoggingNamespaceSource parent,
	string sourceName,
	Type type = null
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
The parent LoggingNamespaceSource.
sourceName
Type: System.String
Name for the log source.
type (Optional)
Type: System.Type
The Type being logged, if any.
See Also