DefaultRenderer ClassApache log4net™ SDK Documentation
The default object Renderer.
Inheritance Hierarchy

SystemObject
  log4net.ObjectRendererDefaultRenderer

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

public sealed class DefaultRenderer : IObjectRenderer

The DefaultRenderer type exposes the following members.

Constructors

  NameDescription
Public methodDefaultRenderer
Default constructor
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRenderObject
Render the object obj to a string
Public methodToString
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