DefaultRenderer Class | Apache log4net™ SDK Documentation

The default object Renderer.
Inheritance Hierarchy

System
Object
log4net.ObjectRenderer
DefaultRenderer

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

C#
VB
C++
F#
Copy

    public sealed class DefaultRenderer : IObjectRenderer

    Public NotInheritable Class DefaultRenderer
    	Implements IObjectRenderer

    public ref class DefaultRenderer sealed : IObjectRenderer

    [<SealedAttribute>]
    type DefaultRenderer =
        class
            interface IObjectRenderer
        end

The DefaultRenderer type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| DefaultRenderer | Default constructor

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| RenderObject | Render the object obj to a string
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

The default renderer supports rendering objects and collections to strings.

See the RenderObject(RendererMap, Object, TextWriter) method for details of the output.

See Also

#### Reference

log4net.ObjectRenderer Namespace