DotNetPusher icon indicating copy to clipboard operation
DotNetPusher copied to clipboard

how to define LogCallback

Open pubpy2015 opened this issue 4 years ago • 0 comments

Hi,

In Ultils.h:

inline void Utils::write_log(char* log) { if (g_log_callback != nullptr) { const auto size = static_cast(strlen(log)); g_log_callback(log, size); } else { printf("%s\n",log); }

How to define g_log_callback to get the log ?

pubpy2015 avatar Oct 07 '20 22:10 pubpy2015