Classe TSyslogMessage

Unit

Declaração

type TSyslogMessage = class(TObject)

Descrição

encoding or decoding of SYSLOG message

Hierarquia

Visão Geral

Métodos

Public procedure Clear;

Propriedades

Public property Version: TSyslogVersion read FVersion write FVersion;
Public property Facility: Byte read FFacility write FFacility;
Public property Severity: TSyslogSeverity read FSeverity write FSeverity;
Public property DateTime: TDateTime read FDateTime write FDateTime;
Public property Tag: String read FTag write FTag;
Public property AppName: String read FTag write FTag;
Public property ProcID: String read FProcID write FProcID;
Public property MsgID: String read FMsgID write FMsgID;
Public property LogMessage: String read FMessage write FMessage;
Public property LocalIP: String read FLocalIP write FLocalIP;
Public property PacketBuf: AnsiString read GetPacketBuf write SetPacketBuf;

Descrição

Métodos

Public procedure Clear;

Reset values to defaults

Propriedades

Public property Version: TSyslogVersion read FVersion write FVersion;

Define packet format version.

Public property Facility: Byte read FFacility write FFacility;

Define facilicity of Syslog message. For specify you may use predefined FCL_* constants. Default is "FCL_Local0".

Public property Severity: TSyslogSeverity read FSeverity write FSeverity;

Define possible priority of Syslog message. Default is "Debug".

Public property DateTime: TDateTime read FDateTime write FDateTime;

date and time of Syslog message

Public property Tag: String read FTag write FTag;

This is used for identify process of this message. Default is filename of your executable file.

Public property AppName: String read FTag write FTag;

alias to Tag

Public property ProcID: String read FProcID write FProcID;

Identification of logging process, like handle of process, transaction ID, etc.

Public property MsgID: String read FMsgID write FMsgID;

Identification of message type category. Messages with same ID should have same semantic.

Public property LogMessage: String read FMessage write FMessage;

Text of your message for log.

Public property LocalIP: String read FLocalIP write FLocalIP;

IP address of message sender.

Public property PacketBuf: AnsiString read GetPacketBuf write SetPacketBuf;

This property holds encoded binary SYSLOG packet. Note: writing is deprecated and working for RFC3164 only.


Gerado por PasDoc 0.16.0.