Jordi Boggiano
5785a9ac4a
Fix CS and php5.3 compat
2015-08-31 10:26:07 +01:00
Jared Markell
3a3d28f91a
Add getUid() to UidProcessor
2015-08-24 14:50:30 -07:00
Frederik Bosch
d72806ca25
Would have, could have. Why not.
2015-08-11 11:59:52 +02:00
Frederik Bosch
63c0363824
Typehint update
2015-08-11 11:58:40 +02:00
Frederik Bosch
0ae159e892
Remove Not in method name
...
Apparently there is check whether function should be skipped (positive).
2015-08-11 11:54:26 +02:00
Frederik Bosch
8b2df20b95
FIX IntrospectionProcessor: E_NOTICE
...
Recent merge of #608 misses check whether the trace exists at all at the specific index, leading to undefined offset.
```
E_NOTICE: Undefined offset: 3
```
And because the while statement became unreadable (and too long), I moved it into a separate method.
2015-08-11 11:51:06 +02:00
Jordi Boggiano
e4f45be5dc
Fix CS
2015-07-20 19:31:46 +01:00
Jordi Boggiano
00a3ad6572
Merge pull request #608 from xploSEoF/patch-1
...
Ignore "call_user_func" from debug backtrace
2015-07-20 19:28:40 +01:00
Liam Le Brun
a287cc630e
Missed a continue
2015-07-15 14:02:42 +01:00
Liam Le Brun
e021bbd4b2
Multiple functions to skip
...
Add an array for holding the functions to skip, preventing the functions from ever being used for introspection
2015-07-15 13:36:37 +01:00
Liam Le Brun
16c83796dd
Make PHP5.3 compatible
2015-07-15 13:31:43 +01:00
Liam Le Brun
09861e1e47
Prevent Monolog from ever being introspected
...
Ensure the Monolog namespace is always ignored, and doesn't have to be defined in use.
2015-07-15 12:54:38 +01:00
Liam Le Brun
ac8afbf9a9
Ignore "call_user_func" from debug backtrace
...
Helps make this compliant where there is no class defined
2015-07-15 12:48:57 +01:00
Jordi Boggiano
ca1376bd61
CS fixes
2015-07-14 10:26:05 +01:00
Jordi Boggiano
328d66f13f
Fix support for associative tag arrays, refs #588
2015-07-13 11:06:01 +01:00
Jordi Boggiano
66532794b0
Add TagProcessor::addTags and TagProcessor::setTags, fixes #588
2015-07-12 11:55:38 +01:00
Markus Staab
b0e7c7097f
Simplify MemoryUsageProcessor
...
Analog https://github.com/Seldaek/monolog/pull/594/files
2015-06-30 14:34:01 +02:00
Nikita
e26175d88a
Update MemoryPeakUsageProcessor.php
...
more simple implementation
2015-06-29 15:15:06 -05:00
Jordi Boggiano
b738a6c04c
CS fixes
2014-10-17 19:12:45 +01:00
Jordi Boggiano
feb19af2d4
Add support for PSR-3 levels to all public APIs accepting levels, fixes #421
2014-09-30 13:59:45 +01:00
Jordi Boggiano
0edd89d556
CS fixes
2014-09-29 23:07:02 +01:00
Jordi Boggiano
b3f039339d
Support objects/arrays/resources a bit better, refs #410
2014-09-10 16:41:01 +01:00
Jordi Boggiano
2351b65d49
Merge pull request #410 from harrytruong/master
...
PsrLogMessageProcessor updated to add valid string conversion conditions
2014-09-10 16:26:00 +01:00
Harry Truong
2c80f5d0d5
PsrLogMessageProcessor updated to add valid string conversion conditions
2014-08-07 13:07:19 -04:00
Menno Holtkamp
49c469668a
Allow to add extra fields
2014-08-03 15:48:29 +02:00
Jordi Boggiano
68f8b1a27e
Update docblock
2014-07-19 19:25:20 +02:00
Dawid Nowak
6a4b73468e
WebProcessor: option to add only requested extra fields, instead of always adding all available
2014-07-01 20:41:03 +02:00
Dawid Nowak
9aba3242f6
WebProcessor: extra fields appended in a loop over declared values, instead of copy-pasting
2014-07-01 20:25:13 +02:00
Dawid Nowak
9da894a8b3
WebProcessor: extracted method: appendExtraFields()
2014-07-01 20:21:25 +02:00
Jordi Boggiano
0b654cec86
CS fixes
2014-04-23 09:20:48 +02:00
Jordi Boggiano
2dd41709c6
Merge pull request #347 from ipsq/master
...
Added tags for Raven
2014-04-04 17:17:39 +02:00
ipsq
a3e00db52f
Update TagProcessor.php
2014-04-01 17:07:22 +02:00
ipsq
34c39ee771
Update TagProcessor.php
...
Array merge was unnecessary since it is not set anywhere else than here.
2014-03-31 20:23:37 +02:00
ipsq
c7ca9f7e5d
Added a TagProcessor
...
The TagProcessor adds the tags key to the record making it so that it can be used by handlers like Raven.
2014-03-31 20:15:58 +02:00
Hennadiy Verkh
6da3629484
Added detailed comments.
2014-03-24 13:23:34 +01:00
Hennadiy Verkh
47bf5d9ffe
CS fix.
2014-03-24 10:58:05 +01:00
Hennadiy Verkh
3fe02f7c21
Added comments
2014-03-24 10:55:35 +01:00
Hennadiy Verkh
36f3d0e52f
Added configuration option to MemoryProcessors with a possibility to disable formatting.
2014-03-24 10:51:45 +01:00
Jordi Boggiano
3926d95f8a
CS fixes
2013-12-26 11:43:12 +01:00
Artur Geraschenko
ff43ef9860
Init IntrospectionProcessor with skip classes parameter with fixed array notation
...
Logger maybe use in other debug classes and I must be able to skip my debug classes.
For example: new IntrospectionProcessor(Logger::DEBUG, array('Monolog\\', 'Debug'))
2013-12-12 21:27:31 +03:00
Jordi Boggiano
aff8d92e29
Add caching, group exec calls in one, refs #274
2013-11-20 13:28:13 +01:00
otternq
1c3b7a6cdd
updated data assignment based on @Seldaek suggestion
2013-11-20 00:41:49 -08:00
otternq
e1feb74001
removing whitespace from getCommit() value
2013-11-16 17:52:07 -08:00
otternq
9c57967700
adding a processor for basic git information
...
Adds the current Git Branch, and Git Commit key to the extra field
2013-11-16 17:40:16 -08:00
Andrey Ryaguzov
d5c30addcd
add right pid for childs
2013-11-04 12:15:17 +04:00
Matthias Pigulla
540afb4621
Add unique_id to extra data only if present in the server environment
2013-10-10 10:04:29 +02:00
Matthias Pigulla
a2b77b2750
Add Apache mod_unique_id's identifier in WebProcessor
...
mod_unique_id can add a unique ID to every request and also add it to other logfiles. This makes it easy to correlate lines from different logs belonging to the same request. http://httpd.apache.org/docs/2.2/mod/mod_unique_id.html
2013-10-08 14:31:56 +02:00
Kris Wallsmith
0f5cdb285a
added level to introspection processor
2013-09-26 12:52:23 -07:00
Jordi Boggiano
3f8c37b23c
CS fixer
2013-03-28 11:41:04 +01:00
Jordi Boggiano
041aa3930f
Add length arg to the UidProcessor, refs #169
2013-02-26 11:18:11 +01:00