Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support caller skip in logx #2401

Merged
merged 8 commits into from
Sep 17, 2022
Merged

Conversation

kevwan
Copy link
Contributor

@kevwan kevwan commented Sep 16, 2022

No description provided.


func writeSevere(msg string) {
if shallLog(SevereLevel) {
getWriter().Severe(fmt.Sprintf("%s\n%s", msg, string(debug.Stack())))

Check warning

Code scanning / CodeQL

Information exposure through a stack trace

This stack trace is exposed to a remote user [here](1). This stack trace is exposed to a remote user [here](2). This stack trace is exposed to a remote user [here](3). This stack trace is exposed to a remote user [here](4).
dependabot bot and others added 2 commits September 17, 2022 00:17
…tlptracegrpc (zeromicro#2402)

Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@kevwan kevwan merged commit 0b1884b into zeromicro:master Sep 17, 2022
@kevwan kevwan linked an issue Sep 28, 2022 that may be closed by this pull request
@kevwan kevwan mentioned this pull request Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

logx callerDepth issue
1 participant