src/test.c
void yaz_check_init_log(const char *argv0)
{
    char logfilename[2048];
    log_tests = 1;
    sprintf(logfilename,"%s.log", progname(argv0) );
    yaz_log_init_file(logfilename);
    yaz_log_trunc();

}
/** \brief  Initialize the log system */
\brief  Initialize the log system
\ brief Initialize the log system
void yaz_check_init_log(const char *argv0)
{
    char logfilename[2048];
    log_tests = 1;
    sprintf(logfilename,"%s.log", progname(argv0) );
    yaz_log_init_file(logfilename);
    yaz_log_trunc();
}
void yaz_check_init_log ( const char * argv0 ) { char logfilename [ 2048 ] ; log_tests = 1 ; sprintf ( logfilename , " " , progname ( argv0 ) ) ; yaz_log_init_file ( logfilename ) ; yaz_log_trunc ( ) ; }
\brief  Initialize the log system
\ brief Initialize the log system