PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Profile Class / Logging­Profile Methods

LoggingProfile Methods

The LoggingProfile type exposes the following members.

Protected methodEnsureNotFrozen
Throws an InvalidOperationException if the Freeze() method has been called on this object.
Protected methodFreeze
Prevents changes in the current object.
Public methodGetAbstractSource
Gets the LoggingAbstractSource for a given Type in the current profile.
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
See Also