You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enhance logging with caller information and add corresponding tests
- Add `path/filepath` and `runtime` imports
- Modify logging functions to include caller information
- Add `addCallerInfo` method to append file and line number to log messages
- Create a new test file `slog_test.go`
- Add tests for `addCallerInfo` method to verify it appends caller information correctly
Signed-off-by: appleboy <[email protected]>
0 commit comments