Skip to content

Using logAttribute name as alias? #710

Answered by Gummibeer
lovecoding-git asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,
that's not possible - except the mentioned tapActivity() method and map the array by your own.
Right now I would also say that this is a feature that won't happen - because of a massive increase in complexity without a common usecase.

Could you explain why you would like to alias your model attributes in the log? I can't imagine any case why the log should have aliased attributes. 🤔

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Gummibeer
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #710 on May 28, 2020 10:21.