PatternConverter WriteDictionary Method (TextWriter, ILoggerRepository, IDictionaryEnumerator)Apache log4net™ SDK Documentation
Write an dictionary to a OnlineTextWriter

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

protected static void WriteDictionary(
	TextWriter writer,
	ILoggerRepository repository,
	IDictionaryEnumerator value
)
Remarks

Writes the OnlineIDictionaryEnumerator to a writer in the form:

{key1=value1, key2=value2, key3=value3}

If the ILoggerRepository specified is not null then it is used to render the key and value to text, otherwise the object's ToString method is called.

See Also