PatternLayout AddConverter Method (String, Type)Apache log4net™ SDK Documentation
Add a converter to this PatternLayout

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public void AddConverter(
	string name,
	Type type
)
Remarks

Add a named pattern converter to this instance. This converter will be used in the formatting of the event. This method must be called before ActivateOptions .

The type specified must extend the PatternConverter type.

See Also