Search

Check the revision before using log blocks.

Use log blocks (Log) appropriately according to your development environment

Using the log block appropriately for the development environment(revision), it helps to improve performance.
Use the debug block only when debugging with the log block when the revision is ‘dev’.
And in ‘Production’, please delete the debug block and use only the Info level log (offer information log).
Because, 'Production' is the actual environment in which it is being operated, there is a possibility that code performance may decrease if there is a Debug block for debugging purposes.