Made log library UTF-8 capable