Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it (변경 내용 / 필요성):
현재
callerSkip
이9
로 고정되어 있는데,환경에 따라 맞지 않는 현상이 있었으며, go test에서는
9
이, 라이브러리로서 사용할 때는10
이 적절한 것 같습니다.상황에 따라 적절히 값을 설정할 수 있도록
logger.SetCallerSkip(skip int)
을 도입하고자 합니다.기본값은
10
으로 하고, 테스트코드에서는9
를 사용하도록 하였습니다. ★merge 후에는
v0.1.4-beta.0
로 release하겠습니다.Which issue(s) this PR fixes (관련 이슈):
Special notes for your reviewer (리뷰어에게 하고 싶은 말):
리뷰 감사합니다.
Additional documentation, usage docs, etc. (기타 관련 문서, 사용법 등):