Skip to content

Conversation

@Hades32
Copy link
Contributor

@Hades32 Hades32 commented Jul 29, 2022

This passes the pc var to marshallers to be able to add function names to caller fields.

This is a breaking change for those that have overridden CallerMarshalFunc before, as the func signature changes.

All tests passed locally.

Resolves #456

@Hades32 Hades32 requested a review from rs July 29, 2022 12:39
@rs rs merged commit d894f12 into rs:master Jul 29, 2022
@Hades32 Hades32 deleted the caller-pc branch July 29, 2022 15:05
@Hades32
Copy link
Contributor Author

Hades32 commented Jul 29, 2022

thanks for merging @rs! Would you mind also creating a new git tag, so I can update our deps?

@Hades32
Copy link
Contributor Author

Hades32 commented Aug 22, 2022

@rs could you create a v1.28.0 tag?

@rs
Copy link
Owner

rs commented Aug 28, 2022

done

rs pushed a commit that referenced this pull request Sep 9, 2022
There was changes in #457  pass program counter to CallerMarshalFunc.
Update example in README.md
pablitoc pushed a commit to nxcr-org/zerolog that referenced this pull request Apr 7, 2023
pablitoc pushed a commit to nxcr-org/zerolog that referenced this pull request Apr 7, 2023
There was changes in rs#457  pass program counter to CallerMarshalFunc.
Update example in README.md
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.

Pass PC to caller marshaller to allow more detailed information

2 participants