Remove default value from Accept_ID

Mandate that users must specify an identifier when querying the policy
database via the Accept_ID function.
This commit is contained in:
Adrian-Ken Rueegsegger 2019-09-26 11:10:17 +02:00
parent cfa4e164a5
commit 9617d31f6a
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ package body Alog.Policy_DB is
----------------------------------------------------------------------
function Accept_ID
(Identifier : String := "";
(Identifier : String;
Level : Log_Level)
return Boolean
is

View File

@ -74,7 +74,7 @@ package Alog.Policy_DB is
-- Reset the logging policy database to the initial state.
function Accept_ID
(Identifier : String := "";
(Identifier : String;
Level : Log_Level)
return Boolean;
-- Returns True if the given loglevel is accepted for a specified