1
0
mirror of synced 2024-11-14 00:19:16 +00:00
x2log/X2Log.Intf.NamedPipe.pas
Mark van Renswoude 06734475e9 Support for Delphi 10.2 Tokyo
Added packages
Changed deprecated Stream.Seek to Stream.Position
2017-07-06 16:58:29 +02:00

38 lines
590 B
ObjectPascal

unit X2Log.Intf.NamedPipe;
interface
uses
X2Log.Intf;
type
TX2LogMessageHeaderV1 = packed record
ID: Word;
Version: Byte;
Size: Word;
DateTime: TDateTime;
Level: TX2LogLevel;
{
Payload:
CategoryLength: Cardinal
Category: WideString
MessageLength: Cardinal
Message: WideString
DetailsLength: Cardinal
Details: WideString
}
end;
TX2LogMessageHeader = TX2LogMessageHeaderV1;
const
X2LogMessageHeader: Word = $B258;
X2LogMessageVersion: Byte = 1;
implementation
end.