Top "Monolog" questions

Monolog is a logging library for PHP 5.3 used by Symfony2.

How not to show last bracket in a monolog log line?

// in my PHP code $log = new Logger('LaurentCommand'); $log->pushHandler(new StreamHandler('./app/logs/LaurentCommand.log')); $log->…

php symfony monolog
Symfony2/Monolog: Log Level - only show app.INFO?

I am using Symfony2 and monolog to write in specific logs in a defined logfile (mylogfile.log): #config_dev.yml …

symfony monolog
Monolog, how to log PHP array into console?

I am using the browser handler to log message into JS console require_once 'vendor/autoload.php'; use Monolog\Logger; …

php monolog
Monolog: Handler to catch errors/exceptions and output the messages in the response (as per PHP default)

How can I configure Monolog to output PHP errors within the response, as would have been done without Monolog? What …

php error-handling monolog
Symfony 2.1 - Switch Monolog channel in controller

I want to log into a different file than the usual dev.log or prod.log I know that this …

php logging symfony-2.1 monolog
Can Laravel 4 log to a MySQL database?

If so how can it be done? By default L4 writes to a text file. I notice that Monolog can …

php laravel laravel-4 monolog
Log PHP fatal errors in Symfony2 using Monolog

I need a way to capture PHP fatal errors (but also notices and warnings) and logging them by using Monolog. …

symfony monolog
Monolog: log different channels and multiple handlers to grouped log file + dedicated log files

I'm facing some problems with configuring Monolog to handle "nested loggers". What I want to do: Log from services to …

symfony logging monolog
Why does Symfony still log to a dev.log file, even when I didn't define it in a loghandler?

During the execution of Symfony Commands, I want to log messages to a different file. I have read the Symfony …

php symfony logging monolog