Skip to content

TSdlLogOutputFunction

The prototype for the log output callback function.

This function is called by SDL when there is new text to be logged. A mutex is held so that this function is never called by more than one thread at once.

Definition

Unit: Neslib.Sdl3.Basics

type TSdlLogOutputFunction = procedure(const ACategory: TSdlLogCategory; 
  const APriority: TSdlLogPriority; const AMessage: String) of object

Parameters

ACategory: TSdlLogCategory : The category of the message.

APriority: TSdlLogPriority : The priority of the message.

AMessage: String : The message being output.