log4net SDK Reference |

# LoggerRepositorySkeleton.AddRenderer Method

Adds an object renderer for a specific class.

[Visual Basic]
Overridable Public Sub AddRenderer( _
ByVal typeToRender As Type, _
ByVal rendererInstance As IObjectRenderer _
)
[C#]
public virtual void AddRenderer(
Type typeToRender,
IObjectRenderer rendererInstance
);

#### Parameters

typeToRender
  The type that will be rendered by the renderer supplied.
rendererInstance
  The object renderer used to render the object.

#### Remarks

Adds an object renderer for a specific class.

#### See Also

LoggerRepositorySkeleton Class | log4net.Repository Namespace