MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / Cubism_Log

Function Cubism_Log

modules/render/live2d/src/skr_live2d.cpp:9–18  ·  view source on GitHub ↗

Log out func register to cubism */

Source from the content-addressed store, hash-verified

7
8/** Log out func register to cubism */
9static void Cubism_Log(const char* message)
10{
11 static thread_local skr::Vector<char> buf;
12 buf.clear();
13 buf.assign(message, ::strlen(message) + 1);
14 // replace the last '\n' with '\0'
15 if (buf[buf.size() - 1] == '\n')
16 buf[buf.size() - 1] = '\0';
17 SKR_LOG_TRACE(u8"[Live2D] %s", buf.data());
18}
19
20class CubismFrameWorkAllocator : public Csm::ICubismAllocator
21{

Callers

nothing calls this directly

Calls 4

clearMethod · 0.45
assignMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected