Skip to content

Set $logName attribute dynamically? #741

Answered by Gummibeer
RezDev94 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,

I assume that you refer to the model events? If so you have multiple ways.

  • override getLogNameToUse() method on model and define your logic
  • use tapActivity() method on model and define your logic

These two will work out of the box and without major conflicts in future updates.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RezDev94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants