MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / cross_platform_println

Method cross_platform_println

include/Helpers/Logger.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void Logger::cross_platform_println(const std::string& text) {
45#ifdef __ANDROID__
46 __android_log_print(ANDROID_LOG_INFO, "Logger", "%s", text.c_str());
47#else
48 std::cout << text << std::endl;
49#endif
50}

Callers 1

init_logsFunction · 0.80

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected