C# Класс SampleLayoutsApp.Layout.ForwardingLayout

The ForwardingLayout forwards to a nested ILayout
The ForwardingLayout base class is used by layouts that want to decorate other ILayout objects.
Наследование: ILayout, IOptionHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
ActivateOptions ( ) : void

Activate component options

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

This method must be implemented by the subclass.

Format ( TextWriter writer, log4net.Core.LoggingEvent loggingEvent ) : void

Implement this method to create your own layout format.

This method is called by an appender to format the loggingEvent as text.

Защищенные методы

Метод Описание
ForwardingLayout ( ) : System

Описание методов

ActivateOptions() публичный Метод

Activate component options

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions method must be called on this object after the configuration properties have been set. Until ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions must be called again.

This method must be implemented by the subclass.

public ActivateOptions ( ) : void
Результат void

Format() публичный Метод

Implement this method to create your own layout format.

This method is called by an appender to format the loggingEvent as text.

public Format ( TextWriter writer, log4net.Core.LoggingEvent loggingEvent ) : void
writer System.IO.TextWriter The TextWriter to write the formatted event to
loggingEvent log4net.Core.LoggingEvent The event to format
Результат void

ForwardingLayout() защищенный Метод

protected ForwardingLayout ( ) : System
Результат System