1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Use OpenCV logging instead of std::cerr.

This commit is contained in:
Alexander Smorkalov
2023-07-17 12:49:49 +03:00
parent 1920993525
commit 23f27d8dbe
7 changed files with 47 additions and 53 deletions
+1 -1
View File
@@ -1055,7 +1055,7 @@ void cv_wl_keyboard::handle_kb_keymap(void *data, struct wl_keyboard *kb, uint32
} catch (std::exception &e) {
if (keyboard->xkb_.keymap)
xkb_keymap_unref(keyboard->xkb_.keymap);
std::cerr << "OpenCV Error: " << e.what() << std::endl;
CV_LOG_ERROR(NULL, "OpenCV Error: " << e.what());
}
close(fd);