Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM How to add text to the beginning of the line about the work of the consumer?

This topic contains 0 replies, has 1 voice, and was last updated by  Makheshvara 5 days, 1 hour ago.

  • Creator
  • #37857


    Hi everyone,

    The full title does not fit into the restrictions:

    How to add text to the beginning of the line about the work of the consumer (display information in the console)?

    I was faced with a situation where I need to add a specific text to the beginning of each report, for example, a “test”. (logging and console display – logging)

    I met an interesting article, but there is another file that I need. I need to change the file a bit – Logger.php . If I understand correctly, there is a link to the file – JsonFormatter. (article –

    He suits me, and I don’t need to change this. I need only Logger.php, which is one or two hierarchies higher. (if I am not mistaken – vendor/monolog/monolog/src/Monolog/Logger.php)

    If you look at “vendor”, then I know that I need to add text, for example, in the variable “level” (level is such a multicolored text that determines the importance of the message)

    But if you know, advise how to correctly redefine to offend Logger.php

    Any advice or suggestion will be important.

    Thank you.

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for