Click or drag to resize

Logger Class

Helper class which extends the System.Diagnostics.TraceSource class by an own customized layout of the messages. For example, a time stamp is added and unnecessary information (event id) is removed.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.ToolsLogger

Namespace:  Ptv.XServer.Controls.Map.Tools
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class Logger

The Logger type exposes the following members.

Constructors
  NameDescription
Public methodLogger
Constructor initializes the incorporated TraceSource instance.
Top
Methods
  NameDescription
Public methodWrite
Writes a message to each listener (without an additional new line), if event type is not filtered.
Public methodWriteline
Writes a message to each listener (including an additional new line), if event type is not filtered.
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also