PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​NLog Namespace / NLog­Logging­Backend Class / NLog­Logging­Backend Methods / NLog­Logging­Backend.​Create­Type­Source Method

NLogLoggingBackend.CreateTypeSource Method

Creates a LoggingTypeSource for the given role and type.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.NLog
Assembly:  PostSharp.Patterns.Diagnostics.Backends.NLog (in PostSharp.Patterns.Diagnostics.Backends.NLog.dll) Version: 6.9.7.0 (6.9.7.0)
Syntax
C#
protected override LoggingTypeSource CreateTypeSource(
	LoggingNamespaceSource parent,
	Type type
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
type
Type: System.Type

Return Value

Type: LoggingTypeSource
See Also