You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, libnitrokey prints all log messages to stderr/std::clog. It would be useful to be able to specify a custom logging function instead to allow applications to use their own logging mechanisms.
As far as I see, there already is a NitrokeyManager::set_log_function method. This function could be added to the C API and adapated to accept the log level and the raw log message instead of the fully formatted log message.
The text was updated successfully, but these errors were encountered:
Currently,
libnitrokey
prints all log messages tostderr
/std::clog
. It would be useful to be able to specify a custom logging function instead to allow applications to use their own logging mechanisms.As far as I see, there already is a
NitrokeyManager::set_log_function
method. This function could be added to the C API and adapated to accept the log level and the raw log message instead of the fully formatted log message.The text was updated successfully, but these errors were encountered: