An error occurred
* feat: optimize the code and use golangci-lint to check for any errors * fix: TestLogger unit test