This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trace: correctly marshal lazy otlog.Fields
otlog.Field.String() just marshals the function for Lazy fields, instead of actually calling the function to emit its values. This lead to the net/trace logs to just log the function pointer numbers, instead of the values you want.
- Loading branch information
1 parent
5068e89
commit 26069d5
Showing
1 changed file
with
72 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters