Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0 |
|
PatternConverter.WriteDictionary�Method�(TextWriter, ILoggerRepository, IDictionary)
Write an dictionary to a TextWriter
[Visual�Basic]
Overloads�Protected�Shared�Sub�WriteDictionary( _
���ByVal
writer�As�
TextWriter,�_
���ByVal
repository�As�
ILoggerRepository,�_
���ByVal
value�As�
IDictionary�_
)
Parameters
-
writer
- the writer to write to
-
repository
- a ILoggerRepository to use for object conversion
-
value
- the value to write to the writer
Remarks
Writes the IDictionary 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
PatternConverter Class | log4net.Util Namespace | PatternConverter.WriteDictionary Overload List