Christophe Coevoet
|
0defabb726
Refactored the AbstractHandler to avoid having some dummy write() methods
|
před 14 roky |
Christophe Coevoet
|
6aebccf34c
Moved the use of the default formatter to the getter to keep the code DRY
|
před 14 roky |
Christophe Coevoet
|
7ebcc6420f
Changed the FormatterInterface to return only the formatted message and added a batch formatting method
|
před 14 roky |
Jordi Boggiano
|
ea466fa848
Removed second param from processors
|
před 14 roky |
Jordi Boggiano
|
0a09d83fb6
Make the AbstractHandler have proper default in case the constructor is overriden and not called
|
před 14 roky |
Christophe Coevoet
|
3cb3dbdc8f
Made the write method protected
|
před 14 roky |
Christophe Coevoet
|
87332a3e4e
Added phpdoc for all methods and added the typehint for the FormatterInterface
|
před 14 roky |
Jordi Boggiano
|
3b0f738b88
Added docblocks
|
před 14 roky |
Christophe Coevoet
|
b2d356bbf2
Added a BufferHandler to allow batch processing of the records
|
před 14 roky |
Christophe Coevoet
|
3a3c96d6d7
Added some methods in the HandlerInterface and some typehints
|
před 15 roky |
Jordi Boggiano
|
6c24217c56
Renamed message to record
|
před 15 roky |
Jordi Boggiano
|
156e2ace46
Reorder processor stack
|
před 15 roky |
Jordi Boggiano
|
903bbd0fd6
Move the stack handling to the Logger class
|
před 15 roky |
Jordi Boggiano
|
811e6c79d6
Added docblocks and fixed a couple tests
|
před 15 roky |
Jordi Boggiano
|
a426ce2815
Added a Processor stack to the Logger class, added getHandler() to check if any handler is going to handle the message before processing it, handlers are now calling their parent in a chain
|
před 15 roky |
Jordi Boggiano
|
3fa6e4b91f
Major refactoring to follow the Logbook model
|
před 15 roky |