Unit slogsend

Descrição

BSD SYSLOG protocol

Used RFC: RFC-3164, RFC-5424 (millisecond grade timestamp, nonASCII support)

Uses

Visão Geral

Classes, Interfaces, Objetos e Registros

Nome Descrição
Classe TSyslogMessage encoding or decoding of SYSLOG message
Classe TSyslogSend This object implement BSD SysLog client

Funções e Procedimentos

function ToSysLog(const SyslogServer: string; Facil: Byte; Sever: TSyslogSeverity; const Content: string): Boolean;
function ToSysLog1(const SyslogServer: string; Facil: Byte; Sever: TSyslogSeverity; const ProcID, MsgID, Content: string): Boolean;

Tipos

TSyslogVersion = (...);
TSyslogSeverity = (...);

Constantes

cSysLogProtocol = '514';
FCL_Kernel = 0;
FCL_UserLevel = 1;
FCL_MailSystem = 2;
FCL_System = 3;
FCL_Security = 4;
FCL_Syslogd = 5;
FCL_Printer = 6;
FCL_News = 7;
FCL_UUCP = 8;
FCL_Clock = 9;
FCL_Authorization = 10;
FCL_FTP = 11;
FCL_NTP = 12;
FCL_LogAudit = 13;
FCL_LogAlert = 14;
FCL_Time = 15;
FCL_Local0 = 16;
FCL_Local1 = 17;
FCL_Local2 = 18;
FCL_Local3 = 19;
FCL_Local4 = 20;
FCL_Local5 = 21;
FCL_Local6 = 22;
FCL_Local7 = 23;

Descrição

Funções e Procedimentos

function ToSysLog(const SyslogServer: string; Facil: Byte; Sever: TSyslogSeverity; const Content: string): Boolean;

Simply send old RFC-3164 packet to specified Syslog server.

function ToSysLog1(const SyslogServer: string; Facil: Byte; Sever: TSyslogSeverity; const ProcID, MsgID, Content: string): Boolean;

Simply send RFC-5424 version 1 packet to specified Syslog server.

Tipos

TSyslogVersion = (...);

Define Syslog versions

Valores
  • RFC3164
  • RFC5424
TSyslogSeverity = (...);

Define possible priority of Syslog message

Valores
  • Emergency
  • Alert
  • Critical
  • Error
  • Warning
  • Notice
  • Info
  • Debug

Constantes

cSysLogProtocol = '514';
 
FCL_Kernel = 0;
 
FCL_UserLevel = 1;
 
FCL_MailSystem = 2;
 
FCL_System = 3;
 
FCL_Security = 4;
 
FCL_Syslogd = 5;
 
FCL_Printer = 6;
 
FCL_News = 7;
 
FCL_UUCP = 8;
 
FCL_Clock = 9;
 
FCL_Authorization = 10;
 
FCL_FTP = 11;
 
FCL_NTP = 12;
 
FCL_LogAudit = 13;
 
FCL_LogAlert = 14;
 
FCL_Time = 15;
 
FCL_Local0 = 16;
 
FCL_Local1 = 17;
 
FCL_Local2 = 18;
 
FCL_Local3 = 19;
 
FCL_Local4 = 20;
 
FCL_Local5 = 21;
 
FCL_Local6 = 22;
 
FCL_Local7 = 23;
 

Gerado por PasDoc 0.16.0.