diff options
Diffstat (limited to 'pcilib/error.c')
-rw-r--r-- | pcilib/error.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pcilib/error.c b/pcilib/error.c index a2e5a04..ae8bacb 100644 --- a/pcilib/error.c +++ b/pcilib/error.c @@ -80,10 +80,11 @@ int pcilib_set_logger(pcilib_log_priority_t min_prio, pcilib_logger_t logger, vo pcilib_logger_t pcilib_get_logger() { return pcilib_logger; } + pcilib_log_priority_t pcilib_get_log_level() { - return pcilib_logger_min_prio; + return pcilib_logger_min_prio; } + void* pcilib_get_logger_context() { - return pcilib_logger_argument; + return pcilib_logger_argument; } - |