SetLogHandler¶
-
void
Logger::rlogic
::
SetLogHandler
(const LogHandlerFunc &logHandlerFunc)¶ Sets a custom log handler function, which is called each time a log message occurs. Note: setting a custom logger incurs a slight performance cost because log messages will be assembled and reported, even if default logging is disabled (SetDefaultLogging).
@ param logHandlerFunc function which is called for each log message