change main api to module mslog