## Documentation

Table of Contents
Class Inheritance Tree

## Index

Package: Syslog

- Goto spec source

# Description

    package Alog.Facilities.Syslog is

Syslog facility: Used to log to systems syslog.

# Classes

### Instance

- Goto declaration in source
- Goto full declaration in source

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

#### Ancestors:

Alog.Facilities.Instance

#### Primitive operations:

Alog.Facilities.Setup

- To API doc
- To spec

(Inherited)
Alog.Facilities.Teardown

- To API doc
- To spec

(Inherited)
Get_Origin

- To API doc
- To spec

Set_Origin

- To API doc
- To spec

Write (overriding Alog.Facilities.Write)
Syslog based logging facility.

# Types

### Handle

- Goto declaration in source

    type Handle is access all Instance;

### Syslog_Origin

- Goto declaration in source

    type Syslog_Origin is
         (LOG_AUTH,
          LOG_AUTHPRIV,
          LOG_CRON,
          LOG_DAEMON,
          LOG_FTP,
          LOG_KERN,
          LOG_LOCAL0,
          LOG_LOCAL1,
          LOG_LOCAL2,
          LOG_LOCAL3,
          LOG_LOCAL4,
          LOG_LOCAL5,
          LOG_LOCAL6,
          LOG_LOCAL7,
          LOG_LPR,
          LOG_MAIL,
          LOG_NEWS,
          LOG_SYSLOG,
          LOG_USER,
          LOG_UUCP);

Syslog facilties. Specifies what type of program is logging the message.

# Subprograms & Entries

### Set_Origin

- Goto spec in source

    procedure Set_Origin (Facility: in out Instance;Value:        Syslog_Origin);

Set origin of syslog message.

### Get_Origin

- Goto spec in source

    function Get_Origin (Facility: Instance) return Syslog_Origin;

Return currently set syslog origin of given facility.