Add replacing paragraph characters attribute - replaceParagraph#11
Add replacing paragraph characters attribute - replaceParagraph#11AdamSolaris wants to merge 1 commit into
Conversation
|
@AdamSolaris Can you give me a use case? I want to avoid that our class here becomes sort of a template engine that does a lot of postprocessing. Even the |
|
Hi. I am using yii2-streamlog to send logs in stderr, where it is picked up by logstash container. The problem is, that if log message has break paragraph characters, it's split into several messages for logstash, but I have to process these logs as a single solid message |
|
What do you mean paragraph characters? Isn't this just 2 newlines |
|
I mean \r\n |
|
You can check the difference in http://sandbox.onlinephpfunctions.com/code/3fc764f1406be89907030f0b29dff3ce973962a6 |
|
As you usually have control over the messages you log (e.g. with |
No description provided.