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

NLogLoggingTypeSource Constructor (LoggingNamespaceSource, String, Type)

Initializes a new NLogLoggingTypeSource.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.NLog
Assembly:  PostSharp.Patterns.Diagnostics.Backends.NLog (in PostSharp.Patterns.Diagnostics.Backends.NLog.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public NLogLoggingTypeSource(
	LoggingNamespaceSource parent,
	string loggerName,
	Type type = null
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
The parent LoggingNamespaceSource.
loggerName
Type: System.String
The fullname of the Type being logged, usually.
type (Optional)
Type: System.Type
The Type being logged, if this is based on a type.
See Also