LoggingProfileRepository.RegisterProfile Method |
Register a LoggingProfile. This method is invoked by the code generated by PostSharp.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.5.19.0 (6.5.19.0)
C#
public void RegisterProfile( string name, Assembly assembly, LoggingProfile profile )
Parameters
- name
- Type: System.String
Name of the profile. - assembly
- Type: System.Reflection.Assembly
Assembly in which the profile is defined. - profile
- Type: PostSharp.Patterns.Diagnostics.LoggingProfile
The profile itself.