8000 [VarDumper] Dump in php log · Issue #30460 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
8000
[VarDumper] Dump in php log #30460
Closed
Closed
@ilyachase

Description

@ilyachase

Description
Hi guys. It is a often use-case for me to send some data in PHP log for debug purposes. dump() is useful, but it prints data straight, therefore you can often crash your layout or get "Headers already sent" error. Just wondering, can we add similar function for sending data in log, for example using error_log?

Example
dump_log($var1, $var2, $var3);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0