LoggingProfileRepository Class |
Provides access to logging profiles (LoggingProfile) at run-time. Exposed by the
Profiles property. Note that each assembly of the AppDomain
contains its own copy of each LoggingProfile used in this assembly, and each copy
may be different, even if they have the same name.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class LoggingProfileRepository
The LoggingProfileRepository type exposes the following members.
Name | Description | |
---|---|---|
LoggingProfileRepository | Initializes a new instance of the LoggingProfileRepository class |
Name | Description | |
---|---|---|
GetProfile |
Gets a profile given its name and declaring Assembly.
| |
RegisterProfile |
Register a LoggingProfile. This method is invoked by the code generated by PostSharp.
|