ILogEventConverter Interface

Used by ILoggerController to convert complex logging events (values, stack traces) to simpler ones (text).

Namespace: Spring.Logging
IInterface
  Spring.Logging.ILogEventConverter
    Spring.Logging.Extensions.TLogEventConverterBase
type
 ILogEventConverter = interface
 ['{80DC67A5-CA3D-4A57-B843-AA1F9E1BB4F2}']
 end;

The ILogEventConverter type exposes the following members.

Show:
 NameDescription
EventType

Represents property EventType.

Top
Show:
 NameDescription
GetEventType

Represents method GetEventType.

HandleEvent(ILoggerController,TLogEvent)

Consume the event and return True if the event was processed.

Top

Implementations should use SendToAppenders method of the controller to prevent stack overflow.

Note that only one converter may consume the event, once HandleEvent returns True enumeration of converters is stopped.