Answer the question
In order to leave comments, you need to log in
How to extend Line Formatter to separate part of the context?
In Monologue, you can choose the format for the type of logging. But by default there are few options. If a lot of data is passed to the context section, then all of it will be displayed in one poorly readable line. How can I change the LineFormatter class so that each comma changes to e.g. comma+newline? How to write such a replacement in php is clear, it is not very clear how to apply it to this class:
https://github.com/Seldaek/monolog/blob/master/src...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question