sets gLogData with user_data in log_set_handler()
Merge pull request #24 from essentia44/patch-1

sets gLogData with user_data in log_set_handler()