Skip to content

28029bc4 b085 9a94 9ccf 63b63e332963

Axel Kesseler edited this page Mar 1, 2023 · 1 revision

GelfFormatter.AddValue Method

Adds a combination of label and value to the string builder.

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

Syntax

C#

private void AddValue(
	StringBuilder builder,
	string label,
	string value,
	char split,
	bool plain
)

Parameters

 

builder
Type: System.Text.StringBuilder
The string builder to be used.
label
Type: System.String
The label to be used.
value
Type: System.String
The value to be used.
split
Type: System.Char
The split character to be added.
plain
Type: System.Boolean
If false the value is surrounded by double quotes and otherwise not.

Remarks

This method adds the combination of label and value to the string builder.

See Also

Reference

GelfFormatter Class
Plexdata.LogWriter.Internals.Formatters Namespace

Clone this wiki locally