1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-20 20:01:52 +02:00
Commit Graph

1966 Commits

Author SHA1 Message Date
Jordi Boggiano
388056fd92 Fix wildfire formatter with custom data types, refs #89 2012-06-15 18:55:16 +02:00
pomaxa
e5ffccd422 fix indentation 2012-06-15 17:56:19 +03:00
Jordi Boggiano
4829b09743 Avoid failures when normalizing exotic values, fixes #89 2012-06-15 16:45:26 +02:00
pomaxa
792634384a AMQP mock object 2012-06-15 14:48:07 +03:00
pomaxa
0932fd33c4 comments & readme update 2012-06-15 14:31:50 +03:00
pomaxa
246ea3a9f6 typo 2012-06-15 13:19:12 +03:00
pomaxa
6b4f4af85f get issuer name from record param channel, instead of passing it through handler constructor 2012-06-15 13:18:44 +03:00
Jordi Boggiano
da33c84d07 CS fixes 2012-06-14 15:47:01 +02:00
Jordi Boggiano
1530322897 Fix test 2012-06-14 15:42:03 +02:00
Jordi Boggiano
afa7d891cc Merge pull request #93 from Shreef/master
2nd fix for issue #91
2012-06-14 06:40:10 -07:00
Shreef
96a2319a24 little update related to issue #91 to make sure that the buffer won't get sent to the sub-handler twice 2012-06-14 15:21:41 +02:00
Shreef
85317d4f8f fixed issue #91 2012-06-14 14:58:17 +02:00
pomaxa
6a86fa4444 skip test instead of throw an error 2012-06-13 17:53:55 +03:00
pomaxa
9d8b108d3c remove notation 2012-06-13 17:51:36 +03:00
pomaxa
fb19840a8f add type hint, remove Exception 2012-06-13 17:36:25 +03:00
Andrew Tch
72ee0aee96 mock implemenation, kind of 2012-06-13 17:10:09 +03:00
pomaxa
a9df0f461a test fix 2012-06-13 12:38:09 +03:00
pomaxa
a56543682d AMQP 2012-06-13 12:07:17 +03:00
pomaxa
be762cb0c5 style 2012-06-13 11:21:22 +03:00
pomaxa
4c46dce153 Fixed issues 2012-06-13 11:17:30 +03:00
pomaxa
b4a33da363 amqp handler.. need to test 2012-06-12 16:48:32 +03:00
Frederic G. MARAND
3a337f2212 Update wording for 8 levels of severity and RFC3164 to RFC5424. 2012-06-09 13:48:01 +02:00
Frederic G. MARAND
07aac12c72 Implement the 8 RFC3164 severity levels instead of just 6.
- constants defined for the 2 missing levels: NOTICE and EMERGENCY.
- add<level>() and <level>() convenience methods added.
- TestHandler and tests updated to account for the two extra levels.
- surjective mappings from the RFC3164 to only 6 levels changes to bijective.
- README updated accordingly.
2012-05-28 20:29:27 +02:00
Jordi Boggiano
2eb0c0978d Merge pull request #84 from jiripetrek/feature-mail-handler
Add posibility to specify more address and custom headers in NativeMailerHandler
2012-05-07 11:19:28 -07:00
Jiří Petřek
ac69638824 text-plain => text/plain 2012-05-07 19:31:59 +02:00
Jiří Petřek
5ac0d070b7 Typos 2012-05-07 18:25:13 +02:00
Jiří Petřek
93f814d721 Typos 2012-05-07 18:20:39 +02:00
Jiří Petřek
50a48feba3 NativMailerHandler: can be specified more recipients and custom headers 2012-05-07 17:38:05 +02:00
Jordi Boggiano
a406763e71 Merge pull request #77 from msabramo/patch-1
Add GitHub PHP syntax highlighting to example
2012-04-27 14:06:21 -07:00
Jordi Boggiano
4f53e251cd Fix language 2012-04-27 18:55:50 +03:00
Jordi Boggiano
ff274d7762 Merge pull request #81 from msabramo/patch-3
README.mdown tweaks
2012-04-27 08:55:21 -07:00
Marc Abramowitz
cac38601f4 README.mdown tweaks 2012-04-27 08:39:21 -07:00
Marc Abramowitz
4830b92725 Curly braces on same line for try/catch, as suggested by @stof in
https://github.com/Seldaek/monolog/pull/76#r743295
2012-04-27 07:06:28 -07:00
Jordi Boggiano
f95a2e10ba Merge pull request #80 from msabramo/fix-GelfMessageFormatter-doc-block
Fix GelfMessageFormatter doc block
2012-04-27 00:30:08 -07:00
Jordi Boggiano
899cba2acc Merge pull request #79 from msabramo/fix-issue-78
Fix issue 78 (fatal error in tests when mlehner/gelf-php is not installed)
2012-04-27 00:20:09 -07:00
Marc Abramowitz
d51acb69f6 Correct doc block for GelfMessageFormatter - it doesn't serialize to Wildfire (that's FirePHP); it serializes to GELF. 2012-04-26 19:02:23 -07:00
Marc Abramowitz
fd4d2556f6 Refactor GelfMessageFormatterTest and GelfHandlerTest so that they don't
fatal error when mlehner/gelf-php is not installed.

Fixes GH-78.
2012-04-26 15:37:21 -07:00
Marc Abramowitz
44d2441782 Pull MockRavenClient (which depends on Raven_Client) out of
tests/Monolog/Handler/RavenHandlerTest.php into a separate file so that
the test can pass when raven-php is installed and can be skipped when
raven-php is not installed. Addresses @Stof's comment in
https://github.com/Seldaek/monolog/pull/76#r740465
2012-04-26 15:03:43 -07:00
Marc Abramowitz
6b4b2a6ac0 Change key from 'context' to 'exception' in
RavenHandlerTest::testException
2012-04-26 14:30:37 -07:00
Marc Abramowitz
7a81acd28b Eliminate local variables used as pseudo-named-arguments, as suggested
by @Stof in https://github.com/Seldaek/monolog/pull/76#r740449
2012-04-26 14:30:37 -07:00
Marc Abramowitz
1c5969629f Change check of record level to >= Logger::ERROR instead of >
Logger::ERROR, as suggested by @Seldaek in
https://github.com/Seldaek/monolog/pull/76#r737303
2012-04-26 14:30:37 -07:00
Marc Abramowitz
3238a7417b Rework how exceptions are stored and accessed using suggestions from
@Seldaek in https://github.com/Seldaek/monolog/pull/76/files#r737312
2012-04-26 14:30:37 -07:00
Marc Abramowitz
f6e75e44cb Put args one per line, as suggested by @Seldaek in
https://github.com/Seldaek/monolog/pull/76/files#r737313
2012-04-26 14:30:37 -07:00
Marc Abramowitz
6d158110d5 Put braces on same line for if statements, as requested by @Seldaek in
https://github.com/Seldaek/monolog/pull/76/files#r737303
2012-04-26 14:30:37 -07:00
Marc Abramowitz
f1580092bc Minor reformatting suggested by @Seldaek in
https://github.com/Seldaek/monolog/pull/76/files#r737297
2012-04-26 14:30:37 -07:00
Marc Abramowitz
0e579f1878 Map CRITICAL and ALERT to ERROR because raven doesn't have more than
ERROR, because otherwise those messages will fail. As suggested by
@Seldaek in https://github.com/Seldaek/monolog/pull/76/files#r737292
2012-04-26 14:30:37 -07:00
Marc Abramowitz
ac161a0caa Remove leading \ in use statement, as suggested by @Seldaek in
https://github.com/Seldaek/monolog/pull/76/files#r737290
2012-04-26 14:30:37 -07:00
Marc Abramowitz
8aeb75a210 composer.json: Tighten requirement "raven/raven": ">=0.2.0" to
"raven/raven": "0.2.*" as suggested by @Seldaek in
https://github.com/Seldaek/monolog/pull/76/files#r737288
2012-04-26 14:30:24 -07:00
Marc Abramowitz
acd05ec288 Add GitHub PHP syntax highlighting to example 2012-04-26 07:22:34 -07:00
Marc Abramowitz
acbf574b98 Add RavenHandler and RavenFormatter for working with Raven which is the
protocol used by Sentry (http://github.com/dcramer/sentry). Uses
raven-php (https://github.com/getsentry/raven-php).
2012-04-25 08:31:01 -07:00