1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-17 02:24:03 +02:00

2648 Commits

Author SHA1 Message Date
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
Jordi Boggiano
abc80e0db8 Update CHANGELOG 1.1.0 2012-04-23 18:27:40 +02:00
Jordi Boggiano
dc7e36f1ee Update requirements 2012-04-23 18:25:28 +02:00
Jordi Boggiano
38e5710fc2 Fix doc link 2012-04-23 09:27:56 +02:00
Jordi Boggiano
a6c24f983a Use non-locale aware version of the float formatter, fixes #65 2012-04-22 18:33:26 +02:00
Jordi Boggiano
5c97153efe Add array of records to MailHandler::send to allow analysis of individual records before sending email 2012-04-22 18:25:25 +02:00
Jordi Boggiano
365a5fc175 Update installation notes to recommend composer 2012-04-22 18:05:19 +02:00
Jordi Boggiano
18598c08f3 Add log level docs, refs #69 2012-04-22 18:05:03 +02:00
Jordi Boggiano
3b910c39a7 Rewrap README 2012-04-22 18:04:40 +02:00
Jordi Boggiano
4b2c47d5b6 Update README/CHANGELOG 2012-04-22 17:41:03 +02:00
Jordi Boggiano
56d246cca3 Make gelf formatter extend the normalizer one 2012-04-22 17:38:31 +02:00
Jordi Boggiano
985e682079 Merge remote-tracking branch 'mlehner/gelf' 2012-04-22 16:55:08 +02:00
Jordi Boggiano
b42da84c12 Minor CS fixes, updated changelog 2012-04-22 16:36:31 +02:00
Jordi Boggiano
5f40e7e942 Merge remote-tracking branch 'pablolb/master' 2012-04-22 16:29:23 +02:00
Jordi Boggiano
908d7734e7 Added test, updated changelog 2012-04-22 12:46:58 +02:00
Jordi Boggiano
4d4a168716 Fix file modes 2012-04-22 12:42:45 +02:00
Jordi Boggiano
fa50158f78 Merge remote-tracking branch 'schmittjoh/actStrat' 2012-04-22 12:41:08 +02:00
Jordi Boggiano
1359f72b08 Fix up mongo db handler and add tests 2012-04-22 12:38:37 +02:00
Jordi Boggiano
0bd4d93006 Split off line formatter in normalizer + line formatters 2012-04-22 12:36:23 +02:00