1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-09-09 04:30:46 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
Jordi Boggiano
b978700c05 Merge remote-tracking branch 'akalongman/feature/elasticsearch' 2018-12-08 18:11:25 +01:00
Jordi Boggiano
1d821e6e40 Update changelog/upgrade files, fixes #1232 2018-12-08 17:58:29 +01:00
Jordi Boggiano
204744df2e Merge branch '1.x' 2018-11-30 08:44:17 +01:00
Jordi Boggiano
25580ef961 Add BC notice to changelog 2018-11-05 13:13:11 +01:00
Jordi Boggiano
69fb39d83c Merge branch '1.x' 2018-11-05 10:02:14 +01:00
Jordi Boggiano
bfc9ebb28f Update changelog date 2018-11-05 10:00:11 +01:00
Jordi Boggiano
6b5a392d87 Update changelog 2018-11-04 23:49:26 +01:00
Jordi Boggiano
073c5d763a Merge branch '1.x' 2018-11-04 18:40:32 +01:00
Jordi Boggiano
334b8d8783 More type hints on some handler classes 2018-07-18 09:55:49 +02:00
Grégoire Pineau
0625068bf0 Added a new ResettableInterface and implemented it where possible.
When one use Monolog in a long process like an AMQP worker with a
`FingersCrossedHandler` or `BufferHandler` there is a drawback: as soon as there
is an AMQP message that generate a log >= error (for example), all next AMQP
messages will output logs, even if theses messages don't generate log where
level >= error.

In the same context there is a drawback for processor that add an UUID to the
logs. The UUID should change for each AMQP messages.

---

This patch address this issue with a new interface: `ResettableInterface` interface.
Side note: `reset()`, `flush()`, `clear()`,  are already used in Monolog. So
basically, one can use the `reset()` on the `Logger` and on some
`Handler`s / `Processor`s.

It's especially useful for

* the `FingersCrossedHandler`: it `close()` the buffer, then it `clear()` the buffer.
* the `BufferHandler`: it `flush()` the buffer, then it `clear()` the buffer.
* the `UidProcessor`: it renew the `uid`.
2018-07-06 16:07:13 +02:00
Jordi Boggiano
0193a07dd7 Merge branch '1.x' 2018-06-18 17:58:26 +02:00
Jordi Boggiano
ee10777821 Fix hipchat dropping messages, fixes #1116 2018-06-18 17:58:11 +02:00
Jordi Boggiano
7c549e383c Update changelog 2018-06-18 17:31:08 +02:00
Jordi Boggiano
873ac681a6 Merge branch '1.x' 2018-06-18 17:27:30 +02:00
Jordi Boggiano
57a8a172e5 Update changelog 2018-06-18 16:38:33 +02:00
Jordi Boggiano
7b99283627 Merge branch '1.x' 2017-06-19 12:29:40 +02:00
Jordi Boggiano
fd8c787753 Update changelog 2017-06-19 03:22:40 +02:00
Jordi Boggiano
f3dda67c09 Merge branch '1.x' 2017-03-13 08:08:24 +01:00
Jordi Boggiano
1e044bc4b3 Update changelog for 1.22.1, fixes #918 2017-03-13 08:08:03 +01:00
klemens
722796ab4d spelling fixes (comments, text) 2017-02-27 23:38:55 +01:00
vlakoff
8d53e6b91f Rename Markdown files to use the regular file extension 2016-12-03 12:26:01 +01:00