diff options
Diffstat (limited to 'pcilib/error.c')
-rw-r--r-- | pcilib/error.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pcilib/error.c b/pcilib/error.c index 06af292..87380e7 100644 --- a/pcilib/error.c +++ b/pcilib/error.c @@ -76,3 +76,14 @@ int pcilib_set_logger(pcilib_log_priority_t min_prio, pcilib_logger_t logger, vo return 0; } + +pcilib_logger_t pcilib_get_logger() { + return pcilib_logger; +} +pcilib_log_priority_t pcilib_get_logger_min_prio() { + return pcilib_logger_min_prio; +} +void* pcilib_get_logger_argument() { + return pcilib_logger_argument; +} + |