With the application defined logging function, the actual logging is not performed by the library anymore, and the code belongs in the applications.