log4net SDK Reference

RendererMap.FindAndRender Method (Object, TextWriter)

Render obj using the appropriate renderer.

[Visual Basic]
Overloads Public Sub FindAndRender( _
   ByVal obj As Object, _
   ByVal writer As TextWriter _
)
[C#]
public void FindAndRender(
   object obj,
   TextWriter writer
);

Parameters

obj
the object to render to a string
writer
The writer to render to

Remarks

Find the appropriate renderer for the type of the obj parameter. This is accomplished by calling the Get method. Once a renderer is found, it is applied on the object obj and the result is returned as a String.

See Also

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