manage and generate logger which can log different level log info