| // This file is part of OpenCV project. | |
| // It is subject to the license terms in the LICENSE file found in the top-level directory | |
| // of this distribution and at http://opencv.org/license.html. | |
| // TODO remove LOG macros, add logging class | |
| do { \ | |
| Stringstream _os; \ | |
| _os << msg; \ | |
| __android_log_print(ANDROID_LOG_DEBUG, "STITCHING", "%s", _os.str().c_str()); \ | |
| } while(0); | |
| for(;;) \ | |
| { \ | |
| using namespace std; \ | |
| if ((_level) >= ::cv::detail::stitchingLogLevel()) \ | |
| { \ | |
| LOG_STITCHING_MSG(_msg); \ | |
| } \ | |
| break; \ | |
| } | |
| //#if DEBUG_LOG_CHAT | |
| // #define LOG_CHAT(msg) LOG(msg) | |
| // #define LOGLN_CHAT(msg) LOGLN(msg) | |
| //#else | |
| // #define LOG_CHAT(msg) do{}while(0) | |
| // #define LOGLN_CHAT(msg) do{}while(0) | |
| //#endif | |