Logga is a simple, small, and fast logging library for Ada 2012.
Go to file
R. Tyler Croy aba51fed86
Add the Info helpers
2019-01-05 21:21:41 -08:00
lib Initial generated project 2019-01-05 15:42:39 -08:00
obj Initial generated project 2019-01-05 15:42:39 -08:00
src Add the Info helpers 2019-01-05 21:21:41 -08:00
.gitignore Initial generated project 2019-01-05 15:42:39 -08:00
LICENSE.txt License this under the GPLv3 2019-01-05 21:05:02 -08:00
README.adoc Add some usage information to the project 2019-01-05 21:09:51 -08:00
logga.gpr Initial generated project 2019-01-05 15:42:39 -08:00

README.adoc

<html lang="en"> <head> </head>

Logga

Logga is a simple, small, and fast logging library for Ada 2012. Unlike Alog, which is very powerful and configurable, Logga aims for the most minimal runtime footprint possible.

Using

Logga is very simple to use, but has a number of helpful functions which will help write faster logging code in Ada.

with Logga;

procedure Main is
   Log : constant Logga.Log_Type := (Level  => Logga.Info,
                                     Colors => True);
begin
   Log.Info ("Hello World!");
   Log.Debug ("This is a {1} message, with a magic number: {2}",
              (Log.d ("tokenized"), Log.d (42)));
end Main;
</html>