Click or drag to resize
weroSoft AG, Software
TraceExtensionsCreateTraceDataEntry Method (Object, StringBuilder, SourceLevels, TraceableKind, String)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Creates a data entry into a string builder according to the giving parameters.

Namespace:  WeroSoft.Diagnostics
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
public static void CreateTraceDataEntry(
	this Object data,
	StringBuilder builder,
	SourceLevels level,
	TraceableKind traceKind,
	string dataFormat


Type: SystemObject
The data to be traced.
Type: System.TextStringBuilder
The string builder to be used fro tracing the data into.
Type: System.DiagnosticsSourceLevels
The currently used trace level.
Type: WeroSoft.DiagnosticsTraceableKind
The trace detail definition.
Type: SystemString
The data format of the value. Use the formatting definition only (e.g. N2 or G).

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also