LoggingTypeSource Constructor (LoggingNamespaceSource, String, Type) |
Creates an instance of LoggingTypeSource.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
protected LoggingTypeSource( LoggingNamespaceSource parent, string shortName, Type sourceType = null )
Parameters
- parent
- Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
The parent LoggingNamespaceSource. - shortName
- Type: System.String
Name of the log source represented by the new LoggingTypeSource. This is usually the FullName of sourceType. - sourceType (Optional)
- Type: System.Type
Optional. The type that this type source is associated with. This is usually the type that the source is logging.