Default logger now allows level to be set and we use a reasonable setting, e.g. no DEBUG

This commit is contained in:
rocky
2003-10-05 14:47:45 +00:00
parent 998b4bb30f
commit b2656fd6ce
3 changed files with 187 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: logging.h,v 1.2 2003/04/21 14:13:54 hvr Exp $
$Id: logging.h,v 1.3 2003/10/05 14:48:07 rocky Exp $
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
@@ -31,6 +31,8 @@ typedef enum {
CDIO_LOG_ASSERT
} cdio_log_level_t;
extern int cdio_loglevel_default;
void
cdio_log (cdio_log_level_t level, const char format[], ...) GNUC_PRINTF(2, 3);