Automatic configuration of logging levels for DbgLog
The DbgCfg library provides a single call, DbgCfg_init(), that configures the logging levels used by DbgLog.
The synopsis of the function DbgCfg_init is:
Calling this function (near the start of your program) will try to configure the
logging levels in DbgLog, according to the directives in a properties file, named
as the content of the environment variable DBGCFG_PROPFILE, or
dbgcfg.properties if this variable is not defined.
This file will first be searched for in the paths defined by the DBGCFG_PATH
environment variable, then the executable's parent directory, and finally the current
directory. If none of these paths contain a suitable properties file, no configuration
This library 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.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA