Physics, asked by Saipreeth8510, 1 year ago

What is verbose constant?

Answers

Answered by ramanandaangomp74sv7
0
Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept. Tip: A good convention is to declare a TAG constant in your class: ... and use that in subsequent calls to the log methods.
Answered by sethu10
0
Console commands have different verbosity levels, which determine the messages displayed in their output. By default, commands display only the most useful messages, but you can control their verbosity with the -q and -v options:

php bin/console some-command -q php bin/console some-command --quiet php bin/console some-command php bin/console some-command -v php bin/console some-command -vv php bin/console some-command -vvv

The verbosity level can also be controlled globally for all commands with the SHELL_VERBOSITY environment variable (the -q and -v options still have more precedence over the value of SHELL_VERBOSITY):

Console optionSHELL_VERBOSITYvalueEquivalent PHP constant-q or --quiet-1OutputInterface::VERBOSITY_QUIET(none)0OutputInterface::VERBOSITY_NORMAL-v1OutputInterface::VERBOSITY_VERBOSE-vv2OutputInterface::VERBOSITY_VERY_VERBOSE-vvv3OutputInterface::VERBOSITY_DEBUG

It is possible to print a message in a command for only a specific verbosity leve

Similar questions