1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-19 23:56:17 +02:00
Commit Graph

6 Commits

Author SHA1 Message Date
Remon van de Kamp
1841e2ba88 Lock down RotateFileHandler to prevent errors with rotation
- Require the dateFormat to be one of three presets ('Y-m-d', 'Y-m' or 'Y') to
  ensure that dates can be sorted lexographically
- Require the filenameFormat to contain the (sub)string `{date}` so we will
  actually create new files instead of the same file over and over again.
2016-04-18 21:51:37 +02:00
Jordi Boggiano
da33c84d07 CS fixes 2012-06-14 15:47:01 +02:00
Jordi Boggiano
8108272c6c Added @covers annotations to everything 2011-06-29 20:23:08 +02:00
Christophe Coevoet
3cb3dbdc8f Made the write method protected
Tests are not a good reason to make it public.
2011-04-06 13:22:06 +02:00
Jordi Boggiano
d0fce88274 Merge similar tests together 2011-04-05 23:36:18 +02:00
Jordi Boggiano
df1679967c Added tests for RotatingFileHandler 2011-04-05 23:19:59 +02:00