Interaction Workspace 8.0.0 .NET Developer's Guide and API Reference
Decide Method (loggingEvent)
Namespaces ► Genesyslab.Desktop.Infrastructure.Traces ► LoggerDenyFilter ► Decide(LoggingEvent)
Decides whether an event should be logged based on its filters.
Declaration Syntax

C# | Visual Basic | Visual C++

    public override FilterDecision Decide(
    	LoggingEvent loggingEvent
    )

    Public Overrides Function Decide ( _
    	loggingEvent As LoggingEvent _
    ) As FilterDecision

    public:
    virtual FilterDecision Decide(
    	LoggingEvent^ loggingEvent
    ) override

Parameters

loggingEvent (LoggingEvent)
  The logging event.

Return Value
The decision.
Remarks

If the decision is Deny()()(), then the event will be dropped. If the decision is Neutral()()(), then the next filter, if any, will be invoked. If the decision is Accept()()() then the event will be logged without consulting with other filters in the chain.

This method is marked abstract and must be implemented in a subclass.

Assembly: Genesyslab.Desktop.Infrastructure (Module: Genesyslab.Desktop.Infrastructure) Version: 8.0.2.15 (8.0.002.15)