Logging framework for the Ada programming language
Go to file
Adrian-Ken Rueegsegger fb49f4cc65 Set VERSION to 0.6.2 2022-11-27 21:48:30 +01:00
data Streamline test data and ref filenames 2019-09-17 15:35:07 +02:00
doc doc: Do not explicitly provide Google fonts 2022-11-27 21:48:30 +01:00
examples Update documentation wrt. policy filtering 2019-09-26 11:31:15 +02:00
src Remove default value from Accept_ID 2019-09-26 11:16:47 +02:00
tests Use Dst_Filter package in policy tests 2019-09-26 11:15:43 +02:00
.gitattributes Ommit .gitignore from release tarball 2014-10-15 12:14:15 +02:00
.gitignore Drop Alog.Version package 2014-10-15 12:14:15 +02:00
AUTHORS
LICENSE
Makefile Set VERSION to 0.6.2 2022-11-27 21:48:30 +01:00
README Extend copyright year to 2022 2022-11-27 21:48:30 +01:00
alog.gpr Select dynamic library if SO version is set 2018-08-13 11:11:26 +02:00
alog_common.gpr Remove -gnat05 compiler flag 2018-08-13 11:11:26 +02:00
alog_tests.gpr Rework handling Ada and C compiler flags 2018-08-13 11:11:06 +02:00

README

Alog
====

Alog is a stackable logging framework for the Ada programming language. It aims
to be straight forward to use and is easily extendable. It provides support for
various logger types, log facilities, loglevel policies and message
transformations.


Prerequisites
-------------
Alog is written in Ada so you need to have an Ada Compiler such as GNAT
installed to build Alog.


Download
--------

Release Version
~~~~~~~~~~~~~~~
The current release version of alog is available at
https://www.codelabs.ch/download/.

Verify a Release
~~~~~~~~~~~~~~~~
To verify the integrity and authenticity of the distribution tarball type the
following commands:

  $ wget -q https://www.codelabs.ch/keys/0xDBF6D7E1095FD0D9.asc -O - | gpg --import
  $ gpg --verify libalog-{version}.tar.bz2.sig

The key fingerprint of the public key ('0xDBF6D7E1095FD0D9') is:

  Key fingerprint = 298F 4B32 C3C4 1D88 5949  86F3 DBF6 D7E1 095F D0D9

Development Version
~~~~~~~~~~~~~~~~~~~
The current development version of alog is available through its git repository:

  $ git clone https://git.codelabs.ch/git/alog.git

A browsable version of the repository is also available here:
https://git.codelabs.ch/?p=alog.git


Licence
-------
--------------------------------------------------------------------------------
Copyright (C) 2008-2022 Reto Buerki
Copyright (C) 2008-2022 Adrian-Ken Rueegsegger

Alog is free software; you can redistribute it and/or modify it under the terms
of the GNU Lesser General Public License as published by the Free Software
Foundation; either version 2.1 of the License, or (at your option) any later
version.
--------------------------------------------------------------------------------


Installation
------------
The Alog library has no special dependencies. To run the testcases, you need to
have the Ahven Unit Test-Framework installed:

* Ahven (Test-Framework):
  http://ahven.stronglytyped.org/

The building and installation process of Alog is simple. Just type in the
following commands. You must be root to install the library system wide.

  $ tar -xzf libalog-{version}.tar.bz2
  $ cd libalog-{version}
  $ make
  $ make PREFIX=/usr/local install

This will compile and install the Alog library. If no `PREFIX` is specified,
`$(HOME)/libraries` is used as installation directory.


Tests
-----
After compiling and linking Alog, you can test if everything works as
expected by typing the following command:

  $ make tests

You should then see `PASS` behind each of the tests.