doc/02-handlers-formatters-processors.md
$maxFiles. You should use
logrotate for high profile
setups though, this is just meant as a quick and dirty solution.error_log() function.mail() function.symfony/mailer instance.Mandrill API using a Swift_Message instance.Swift_Mailer instance. Deprecated and removed in Monolog 3.0. Use SymfonyMailerHandler instead.console messages within FireBug.console messages within Chrome.console with
no browser extension required. Most browsers supporting console API are supported.flush() is called). At that point it delivers all records to the handler
it wraps, but only if the records are unique over a given time period
(60seconds by default). If the records are duplicates they are simply
discarded. The main use of this is in case of critical failure like if your
database is unreachable for example all your requests will fail and that
can result in a lot of notifications being sent. Adding this handler reduces
the amount of notifications to a manageable level.close() is called at which point it will call handleBatch() on the
handler it wraps with all the log messages at once. This is very useful to
send an email with all records at once for example instead of having one mail
for every log record.{foo} with the value from $context['foo'].Third party handlers, formatters and processors are listed in the wiki. You can also add your own there if you publish one.
← Usage | Utility classes →