Table of Contents

Class LogOutputEventArgs

Namespace
Sdl3Sharp
Assembly
Sdl3Sharp.dll

Provides mutable data for the Output event

public sealed class LogOutputEventArgs
Inheritance
LogOutputEventArgs
Inherited Members

Properties

Handled

Gets or sets a value indicating whether a LogOutputEventHandler handled the logging message it was invoked with

public bool Handled { get; set; }

Property Value

bool

A value indicating whether a LogOutputEventHandler handled its logging message

Remarks

Inside a LogOutputEventHandler: set this propery to true to indicate that the LogOutputEventHandler handled the given logging message.

It is possible that a LogOutputEventHandler is invoked with a logging message which was already handled by a previous LogOutputEventHandler. You can check for this inside a LogOutputEventHandler by examine if the value of Handled is already set to true.

If a logging message remains unhandled after a completed raise of Output (that is Handled is false) and UseDefaultOutputForUnhandledMessages is set to true, the logging messages will be passed to the default SDL logging output.