moved InitMethodLogger to src/main