Trying to compile your library under Visual Studio - I was forced to change your log.h to use just plain __FUNCTION__ macro instead of __PRETTY_FUNCTION__.
Search on MSDN revealed this: https://social.msdn.microsoft.com/Forums/vstudio/en-US/02c69018-a182-48b3-94d1-250252aa00a7/prettyfunction?forum=vclanguage