Alex Elkins
27ce3a47d4
Fix grammatical error
2020-06-09 21:43:19 -04:00
Jordi Boggiano
eb4dc3aa6b
Merge branch '1.x'
2020-05-21 16:59:46 +02:00
Jordi Boggiano
c50950d79e
Canonicalize paths when constructing RotatingFileHandler/StreamHandler, fixes #1326
2020-05-21 16:54:57 +02:00
Thomas Praxl
764601c606
Expect and document a more concrete exception type
...
As was proposed during review.
2019-11-25 12:01:34 +01:00
Thomas Praxl
3dcb1919a3
Fix misleading @throws tag in StreamHandler doc
...
The `\Exception` for non-existing and not creatable paths is thrown earliest on first write.
Not during StreamHandler instantiation, as claimed by the constructor's `@throws` tag.
2019-11-15 09:07:02 +01:00
Thomas Perez
4e095f38f4
Fix error_handler return type declaration
2019-07-31 22:19:02 +02:00
Jordi Boggiano
10bfeb8bcd
Merge branch '1.x'
2019-07-02 15:55:14 +02:00
yasutomog
ab7e54e7df
For when the date changes during a long process.
2019-07-02 15:54:02 +02:00
Jordi Boggiano
4a33226f25
Wrap up type-hint adding to all handlers
2018-11-19 23:28:33 +01:00
Jordi Boggiano
06143b03e5
Add a bunch of return types and fix type inconsistencies reports from phan
2018-07-04 14:14:08 +02:00
Jordi Boggiano
41b8f5ebf4
CS fixes
2018-06-18 18:53:46 +02:00
Jordi Boggiano
cf33c12b4f
Merge branch '1.x'
2018-06-08 12:51:51 +02:00
Josh McRae
c0eeca76fd
Check for directory before throwing 'no existing directory' exception
2018-06-08 12:51:29 +02:00
Jordi Boggiano
bd7b28e5ee
Merge branch '1.x'
2018-06-07 18:49:40 +02:00
Erik Booij
ecdfdc9897
Rename Boolean in phpDocs to bool
2017-11-04 12:14:41 +01:00
Jordi Boggiano
7405bb5d67
CS fixes
2017-03-20 10:56:47 +01:00
Jordi Boggiano
9cabe2961a
Merge branch '1.x'
2016-11-15 13:16:37 +01:00
Jordi Boggiano
f1d2b090d5
CS
2016-11-15 13:16:16 +01:00
Jay MOULIN
09a68c81e3
isolate fwrite to allow override
2016-11-15 13:15:19 +01:00
Jordi Boggiano
5ce1c921ad
Fix type errors, thanks phan
2016-09-25 22:11:37 +02:00
Jordi Boggiano
21dde4dedb
Move to strict mode and fix tests
2016-05-27 13:44:00 +01:00
Jordi Boggiano
788902b320
Merge branch '1.x'
2016-05-26 22:44:31 +01:00
Jordi Boggiano
39aeecefae
Add getter for the StreamHandler URL, fixes #797
2016-05-26 22:44:25 +01:00
Jordi Boggiano
f200e79879
CS fixes
2016-05-26 20:54:06 +01:00
Jordi Boggiano
5e6b844653
Only fail on really empty stream URL, fixes #796
2016-05-26 20:27:56 +01:00
Jordi Boggiano
a3f7c4a147
Add getStream to the StreamHandler
2016-04-12 19:29:25 +01:00
Jordi Boggiano
a7ade9d68f
Only close handles that have been opened by the StreamHandler, fixes #764
2016-04-10 13:01:10 +01:00
Jordi Boggiano
c889fb2648
CS fixes & upgrading cs fixer config
2015-11-18 17:09:46 +00:00
Jordi Boggiano
e4f45be5dc
Fix CS
2015-07-20 19:31:46 +01:00
William Johnston
3fa5b2f36d
Create directory on initial log write rather than class instantiation.
2015-07-14 13:19:53 -05:00
Dominik Zogg
fe12c5278f
stream handler creates a directory if its possible
2015-07-05 12:09:12 +00:00
Jeroen De Dauw
6595e39ec8
Use FQN since class is not imported
2014-10-28 13:39:01 +01:00
Theo Kouzelis
9752eb9bf3
Removed unnecessary test code and corrected doc style
2014-09-20 12:05:16 +01:00
Theo Kouzelis
d52085a32f
Remove Debug Code
2014-09-17 21:38:44 +01:00
Theo Kouzelis
b838c31b21
Stream Handler Throw Invalid Argument If Not String Or Resource
2014-09-17 21:35:11 +01:00
Jordi Boggiano
72ad8a533d
Rename preferLocking to useLocking
2014-07-28 20:19:11 +02:00
Jordi Boggiano
8aea201b07
Merge remote-tracking branch 'Topface/locking-stream'
...
Conflicts:
src/Monolog/Handler/StreamHandler.php
2014-07-28 20:08:28 +02:00
jeroendedauw
d7d572a0e2
Fix typo in docblock
2014-07-27 17:20:10 +02:00
Ian Babrou
6c799b3976
support for log file locking
2014-07-08 18:57:38 +04:00
Johann Zelger
a1e7f2a6fb
fixed resource check
2014-04-07 17:52:05 +02:00
Jordi Boggiano
f3032a2b98
Avoid chmoding unless requested, fixes #348
2014-04-01 21:53:04 +02:00
Pankaj Garg
b2e5c9ab11
minor indentation fixes
2014-03-26 16:14:50 +05:30
Pankaj Garg
1f4106ca92
-> indentation {nb}
2014-03-26 16:13:34 +05:30
Pankaj Garg
b2e2530406
option to set file permissions in rotatingFileHandler
2014-03-26 13:09:02 +05:30
Jordi Boggiano
89ba162dca
Update readme, fix cs
2013-11-20 13:30:00 +01:00
Birkir A. Barkarson
0f4401891e
Fixes based on comments.
...
- Change function to private.
- Use private variable correctly.
2013-10-11 14:58:39 +09:00
Birkir A. Barkarson
dcbb7bce2f
Changes from comments.
...
- Move private instance variable.
- Reset errorMessage.
- See https://github.com/Seldaek/monolog/pull/248
2013-10-10 16:49:24 +09:00
Birkir A. Barkarson
1f12588c00
eAccelerator doesn't like anonymous functions.
...
- Change to private instance method for error handler.
2013-10-10 14:01:37 +09:00
Jordi Boggiano
0ce44f1526
Improve error reporting on failed streams, refs #85
2012-08-18 18:18:40 +02:00
Jordi Boggiano
da33c84d07
CS fixes
2012-06-14 15:47:01 +02:00