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

LoggingProfileRepository.RegisterProfile Method

RegisterProfile(String, Assembly, LoggingProfile)

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

public void RegisterProfile(string name, Assembly assembly, LoggingProfile profile)
Type Name Description
String name

Name of the profile.

Assembly assembly

Assembly in which the profile is defined.

LoggingProfile profile

The profile itself.