Index

Package: Active_Logger

Description

package Alog.Active_Logger is
Active Logger instance. This logger is an active object and implements concurrent, asynchronous logging. It provides the same functionality as the 'simple' logger.

Classes

Instance

type Instance (Init : Boolean) is tagged limited private;

Primitive operations:

Attach_Default_Facility
Attach_Facility
Attach_Transform
  • To API doc
  • To spec
  • (Inherited)
    Format_Message
    Set_Recipient
    Write (overriding Alog.Facilities.Write)
    SMTP based logging facility.

    Types

    Handle

    type Handle is access all Instance;

    Constants & Global variables

    No_Recipient

    No_Recipient    : exception;
    No recipient specified. Cannot send mail.

    No_Server

    No_Server       : exception;
    No server specified. Cannot send mail.

    Delivery_Failed

    Delivery_Failed : exception;
    Mail could not be delivered.

    Subprograms & Entries

    Set_Recipient

    procedure Set_Recipient 
    (Facility: in out Instance;
    Name: String;
    EMail: String);
    Set recipient for log-messages. This procedure MUST be called before subsequent calls to Write_Message().

    Set_Server

    procedure Set_Server 
    (Facility: in out Instance;
    Name: String);
    Set server for log-messages. This procedure MUST be called before subsequent calls to Write_Message().

    Set_Header

    procedure Set_Header 
    (Facility: in out Instance;
    Header: String);
    Set Message-Header of log-messages.

    Get_Header

    function Get_Header 
    (Facility: Instance) return String;
    Get actual Message-Header of log-messages.
    ./usr/share/doc/libalog0.4.1-full-dev/api/alog-active_logger.ads.html0000644000000000000000000007566111721445771024066 0ustar rootroot Package: Active_Logger

    Index

    Package: Active_Logger

    Description

    package Alog.Active_Logger is
    Active Logger instance. This logger is an active object and implements concurrent, asynchronous logging. It provides the same functionality as the 'simple' logger.

    Classes

    Instance

    type Instance (Init : Boolean) is tagged limited private;

    Primitive operations:

    Attach_Default_Facility
    Attach_Facility
    Attach_Transform
  • To API doc
  • To spec
  • (Inherited)
    Format_Message
    Set_Recipient
    Write (overriding Alog.Facilities.Write)
    SMTP based logging facility.

    Types

    Handle

    type Handle is access all Instance;

    Constants & Global variables

    No_Recipient

    No_Recipient    : exception;
    No recipient specified. Cannot send mail.

    No_Server

    No_Server       : exception;
    No server specified. Cannot send mail.

    Delivery_Failed

    Delivery_Failed : exception;
    Mail could not be delivered.

    Subprograms & Entries

    Set_Recipient

    procedure Set_Recipient 
    (Facility: in out Instance;
    Name: String;
    EMail: String);
    Set recipient for log-messages. This procedure MUST be called before subsequent calls to Write_Message().

    Set_Server

    procedure Set_Server 
    (Facility: in out Instance;
    Name: String);
    Set server for log-messages. This procedure MUST be called before subsequent calls to Write_Message().

    Set_Header

    procedure Set_Header 
    (Facility: in out Instance;
    Header: String);
    Set Message-Header of log-messages.

    Get_Header

    function Get_Header 
    (