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

Add backend.NewLoggerWith function #715

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Add backend.NewLoggerWith function #715

merged 1 commit into from
Jul 17, 2023

Conversation

andresmgot
Copy link
Contributor

@andresmgot andresmgot commented Jul 13, 2023

What this PR does / why we need it:

This PR exposes a shortcut for log.New().With(args...). The end goal of it is to be "hijacked" by Grafana core, as we do with the Logger. See the draft at grafana/grafana#71579 to get more info.

Which issue(s) this PR fixes:

Part of grafana/grafana#71329

Special notes for your reviewer:

@andresmgot andresmgot requested a review from a team as a code owner July 13, 2023 14:54
@andresmgot andresmgot requested review from wbrowne and xnyo and removed request for a team July 13, 2023 14:54
@andresmgot andresmgot merged commit 51d836b into main Jul 17, 2023
2 checks passed
@andresmgot andresmgot deleted the newLoggerWith branch July 17, 2023 10:54
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.

None yet

2 participants