Package: Log_Request

## Documentation

Table of Contents
Class Inheritance Tree

## Index

Package: Log_Request

- Goto spec source

# Description

    package Alog.Log_Request is

Log request type. Log request objects are used for asynchronous logging and hold all relevant information of a log request.

# Classes

### Instance

- Goto declaration in source
- Goto full declaration in source

    type Instance is tagged private;

#### Primitive operations:

Create

- To API doc
- To spec

Get_Caller_ID

- To API doc
- To spec

Get_Log_Level

- To API doc
- To spec

Get_Message

- To API doc
- To spec

Get_Source

- To API doc
- To spec

A log request contains all related information to log asynchronously (Caller identification, loglevel and message).

# Subprograms & Entries

### Create

- Goto spec in source

    function Create (ID: Task_Id   := Current_Task;Source: String    := "";Level: Log_Level := Debug;Message: String) return Instance;

Create a log request object from the specified parameters.

### Get_Caller_ID

- Goto spec in source

    function Get_Caller_ID (Request: Instance) return Task_Id;

Return the caller ID of the request object.

### Get_Source

- Goto spec in source

    function Get_Source (Request: Instance) return String;

Return the source of the request object.

### Get_Log_Level

- Goto spec in source

    function Get_Log_Level (Request: Instance) return Log_Level;

Return the loglevel of the request object.

### Get_Message

- Goto spec in source

    function Get_Message (Request: Instance) return String;

Return the log message of the request object.