Make logger internal

fix #11