Is there a good library of logs for messages, warnings and flogging errors for PHP? AFAIK error_log is only used for logging errors, but I need to also store debug messages.
error_log
And should work with CLI. Thanks
Personally, I appreciate the flexibility of log4php
I suggest you take a look at Monolog
error_log() can be written to arbitrary files ...
error_log()
error_log('Something blew up!', 3, '/some/path/debug.txt');
Source: https://habr.com/ru/post/902395/More articles:What file extensions are affected by ColdFusion Trusted Cache - coldfusionHow can I indent code in vbhtml razor files? - vb.netAccess iPhone Embedded Ringtones - iosRegexp does not work for special special characters in Perl - regexLanguage Definition - pythonWhen focusing on an input field with a border of 3px, all other input fields keep moving - htmlOptional Python named groups re - pythonHow to make memset with Python buffer object? - pythonDB2 Drop table, if equivalent - sqlProgrammatic access to arbitrary web.config - cannot access appSettings (app.config is ok) - c #All Articles