log4net SDK Reference

RendererMap.FindAndRender Method (Object)

Render obj using the appropriate renderer.

[Visual Basic]
Overloads Public Function FindAndRender( _
   ByVal obj As Object _
) As String
[C#]
public string FindAndRender(
   object obj
);

Parameters

obj
the object to render to a string

Return Value

the object rendered as a string

Remarks

This is a convenience method used to render an object to a string. The alternative method FindAndRender should be used when streaming output to a TextWriter.

See Also

RendererMap Class | log4net.ObjectRenderer Namespace | RendererMap.FindAndRender Overload List