1. -- 
  2. --  Copyright (c) 2008, 
  3. --  Reto Buerki, Adrian-Ken Rueegsegger 
  4. --  secunet SwissIT AG 
  5. -- 
  6. --  This file is part of Alog. 
  7. -- 
  8. --  Alog is free software; you can redistribute it and/or modify 
  9. --  it under the terms of the GNU Lesser General Public License as published 
  10. --  by the Free Software Foundation; either version 2.1 of the License, or 
  11. --  (at your option) any later version. 
  12. -- 
  13. --  Alog is distributed in the hope that it will be useful, 
  14. --  but WITHOUT ANY WARRANTY; without even the implied warranty of 
  15. --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
  16. --  GNU Lesser General Public License for more details. 
  17. -- 
  18. --  You should have received a copy of the GNU Lesser General Public License 
  19. --  along with Alog; if not, write to the Free Software 
  20. --  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 
  21. --  MA  02110-1301  USA 
  22. -- 
  23.  
  24. pragma Detect_Blocking; 
  25.  
  26. --  Alog: Ada Logging Components. Provides easy to use API for different logging 
  27. --  facilities and log message transforms. 
  28. package Alog is 
  29.  
  30.    pragma Preelaborate; 
  31.  
  32.    type Log_Level is 
  33.      (Debug, 
  34.       Info, 
  35.       Notice, 
  36.       Warning, 
  37.       Error, 
  38.       Critical, 
  39.       Alert, 
  40.       Emergency); 
  41.    --  Provided log levels. These log levels can be used to categorize log 
  42.    --  messages. 
  43.  
  44.    Max_Path_Length : constant Natural := 128; 
  45.    --  Maximal length of path names. 
  46.  
  47.    Max_Facilities : constant Natural := 15; 
  48.    --  Maximum number of facilities a single logger instance 
  49.    --  can manage. 
  50.  
  51. end Alog;