Open sandboxFocus

Class LoggingProfileRepository

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.

Inheritance
LoggingProfileRepository
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class LoggingProfileRepository

Constructors

Name Description
LoggingProfileRepository()

Methods

Name Description
GetProfile(string, Assembly)

Gets a profile given its name and declaring Assembly.

RegisterProfile(string, Assembly, LoggingProfile)

Register a LoggingProfile. This method is invoked by the code generated by PostSharp.