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

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

Parameters

data
Type: SystemObject
The data to be traced.
builder
Type: System.TextStringBuilder
The string builder to be used fro tracing the data into.
level
Type: System.DiagnosticsSourceLevels
The currently used trace level.
traceKind
Type: WeroSoft.DiagnosticsTraceableKind
The trace detail definition.
dataFormat
Type: SystemString
The data format of the value. Use the formatting definition only (e.g. N2 or G).
name
Type: SystemString
The name of the data item. If no name is defined (null), the name is completely omitted.
indentation
Type: SystemInt32
Defines the indentation of the entry.

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