Index

Package: Alog.Facilities.Syslog

Description

package Alog.Facilities.Syslog is
Syslog facility. Used to log to systems syslog. At the moment, this facility is a thin binding to syslog function calls. The implementation attempts to resemble the native libc-functions of your system, so that anyone being familiar with syslog.h should be able to use this module right away.

Classes

Instance

type Instance is new Alog.Facilities.Instance with private;

Ancestors:

Primitive operations:

Alog.Facilities.Setup (Inherited)
Alog.Facilities.Teardown (Inherited)
Write (overriding Alog.Facilities.Write)

References:

alog-facilities-syslog.ads:29:9 (declaration)
alog-facilities-syslog.adb:31:18 (reference)
alog-facilities-syslog.ads:32:30 (reference)
alog-facilities-syslog.ads:57:18 (reference)
alog-facilities-syslog.ads:62:9 (full declaration)
Syslog based logging facility.

Types

Handle

type Handle is access all Instance;

References:

alog-facilities-syslog.ads:32:9 (declaration)

S_Facility

type S_Facility is
     (LOG_AUTH,
      LOG_USER,
      LOG_MAIL,
      LOG_DAEMON,
      LOG_SYSLOG,
      LOG_CRON);
Corresponding Ada-Implementation of syslogs "facility" parameter. Only the important/usable facilities are mapped.