1
0
mirror of synced 2024-11-08 22:29:16 +00:00
x2log/X2Log.Intf.NamedPipe.pas

38 lines
590 B
ObjectPascal
Raw Normal View History

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.