RendererMapFindAndRender Method (Object, TextWriter)Apache log4net™ SDK Documentation
Render obj using the appropriate renderer.

Namespace: log4net.ObjectRenderer
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public void FindAndRender(
	Object obj,
	TextWriter writer
)

Parameters

obj
Type: SystemObject
the object to render to a string
writer
Type: System.IOTextWriter
The writer to render to
Remarks

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

See Also

Reference