Skip to content

Conversation

@icewind1991
Copy link
Member

@icewind1991 icewind1991 commented May 26, 2023

Allow apps to do their own handling, notably this is emitted even if it would be normally filtered by log level

Needed for nextcloud/logreader#873

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label May 26, 2023
@icewind1991 icewind1991 added this to the Nextcloud 28 milestone May 26, 2023
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, blizzz and nfebe and removed request for a team May 26, 2023 17:05
@icewind1991 icewind1991 marked this pull request as ready for review May 26, 2023 17:06
@icewind1991 icewind1991 force-pushed the log-dispatch-event branch 4 times, most recently from 3507df8 to 3d72315 Compare June 5, 2023 15:36
@icewind1991 icewind1991 force-pushed the log-dispatch-event branch from 3d72315 to d246eaa Compare June 9, 2023 16:06
@icewind1991 icewind1991 requested a review from come-nc June 9, 2023 17:38
Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performance-wise, is that not too much overhead?

@icewind1991
Copy link
Member Author

Performance-wise, is that not too much overhead?

From my understanding the event dispatcher is well optimized for the "no listeners" case.

@icewind1991 icewind1991 merged commit e6959bd into master Jun 14, 2023
@icewind1991 icewind1991 deleted the log-dispatch-event branch June 14, 2023 11:17
@icewind1991
Copy link
Member Author

/backport to stable27

@icewind1991
Copy link
Member Author

/backport to stable26

@ChristophWurst ChristophWurst added enhancement pending documentation This pull request needs an associated documentation update labels Jun 15, 2023
@ChristophWurst
Copy link
Member

New API -> docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement pending documentation This pull request needs an associated documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants