A simple plugin to log errors in real time in a metabox in the admin panel, too integrated with WP-CLI.
For the run command with WP-CLI is necessary to activate the plugin and install WP-CLI.
When running, paste the command wp slvpl logs-erros
into the terminal, by default the number of lines is 1000 but you can control the number of lines through the --num_linhas
parameter
For the example: wp slvpl logs-erros [--num_linhas=<num_linhas>]
or
better in the example wp slvpl logs-erros --num_linhas=100
.