Skip to content

f47e4f0d 4edb f037 70b6 d65afbe9a30d

Axel Kesseler edited this page Mar 1, 2023 · 2 revisions

LoggingScope.ToDisplay Method

Returns the scope's string representation.

Namespace: Plexdata.LogWriter.Internals.Logging
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

public string ToDisplay()

Return Value

Type: String
The string representation of the scope object.

Remarks

This method returns the scope's string representation.  

  • If property Value is for example of type String then this string is used.
  • If property Value is for example of type Guid then the guid's string representation is taken by calling ToString().
  • If property Value is for example of type MemberInfo then the referenced member's Name is taken instead.
  • In all other cases the scope text is determined by using an object's ToString() method.

See Also

Reference

LoggingScope Class
Plexdata.LogWriter.Internals.Logging Namespace

Clone this wiki locally