-
Notifications
You must be signed in to change notification settings - Fork 32
Support use logrus to transmit trace context to log #19
Conversation
Hi @mrproliu you also need to update the plugin summary. |
We should separate that list to |
Have finished, Please take a look. |
Update the PR title please. |
// Output: | ||
// {"SW_CTX":"[,,N/A,N/A,-1]","level":"info","msg":"test1"} | ||
// level=info msg=test2 SW_CTX="[,,N/A,N/A,-1]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add the output into the doc too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But more like real data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add the output into the doc too.
already add the context format at https://github.com/SkyAPM/go2sky-plugins/pull/19/files#diff-f583953a040e7174c73614f1e1e0d8e81695a399c931598d2e28a4b2bb5494cfR22.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But more like real data.
Golang will check output is the same with stdout, test failure if not the same. Should I need to add some real data to the comment?
See SkyAPM/go2sky#104
Support the
logrus
log framework