PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Profile­Repository
Open sandboxFocus

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.

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

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.