Using your own string logging object