The Delphi function OutputDebugString()
is only for Windows. Is there a version supporting Linux?
uses
Winapi.Windows;
...
var
DebugMsg : string;
begin
OutputDebugString('report a status .... ');
DebugMsg := 'report a status ....';
OutputDebugString(PChar(DebugMsg));
3
As Remy Lebeau mentioned in a comment,
There is no equivalent of OutputDebugString() on Linux. You can either write to stdout/stderr normally, or use a custom/3rdparty logging solution.
Recommendations for such a third-party solution are off-topic here.