Skip to content

[php 8.4] feat(logger): lazy logger - #65951

Draft
ArtificialOwl wants to merge 1 commit into
masterfrom
feat/noid/lazy-logger
Draft

ArtificialOwl wants to merge 1 commit into
masterfrom
feat/noid/lazy-logger

Conversation

@ArtificialOwl

@ArtificialOwl ArtificialOwl commented Oct 26, 2026 •

Copy link
Copy Markdown
Member
  • the concept is to not load/initialize the arguments passed to debug(string, array) when using the default LoggerInterface
  • syntax is $this->logger->debug?->print('my message', ['data' => my_heavy_process()]);
  • This is a draft until we get rid of php 8.3

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>

This branch has not been deployed

No deployments
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.

1 participant