update code: update api interface, delcar loggerProvider interface for return type, add more comment in ts code. change module name.