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

1143 Commits

Author SHA1 Message Date
pomaxa
0932fd33c4 comments & readme update 2012-06-15 14:31:50 +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
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
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
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
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
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
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
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
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
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
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
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
Jordi Boggiano
f5ee1cb25a Merge remote-tracking branch 'armetiz/master' 2012-04-22 11:32:38 +02:00
Jordi Boggiano
3c4bc178cc Rename referer->referrer and server_name->server, update changelog 2012-04-22 11:26:54 +02:00
Jordi Boggiano
a435b8ee0f Merge remote-tracking branch 'fixe/webprocessor-referer'
Conflicts:
	src/Monolog/Processor/WebProcessor.php
2012-04-22 11:22:27 +02:00
Matt Lehner
a497704d94 write method should be protected, and protected methods after public methods 2012-04-20 13:24:28 -04:00
Tiago Ribeiro
c8c231f177 Added referer to extra parameter 2012-04-20 16:44:33 +01:00
Marc Abramowitz
365f3a932d Add contents of $_SERVER['SERVER_NAME'] as 'server_name'. Useful for
figuring out the source of log messages when you have a lot of vhosts.
2012-04-20 08:08:33 -07:00
Matt Lehner
97b65bc3e4 contentPrefix should be contextPrefix 2012-04-17 16:24:50 -04:00
Matt Lehner
979c4655f9 created GelfMessageFormatter and related tests 2012-04-17 16:17:43 -04:00
Chris Sedlmayr
0b073c87ef A couple of small comment changes to fix some slightly broken English.
* Fixes a small typo
* Fixes incorrect indefinite article usage
* Fixes small grammatical error
2012-04-17 21:20:31 +02:00
Marc Abramowitz
c9e61750d0 Make some changes suggested by @stof in
https://github.com/Seldaek/monolog/pull/61
2012-04-06 07:00:53 -07:00
Pablo de Leon Belloc
a35db5bcdb SocketHandler: Coding standard fixes. Remove redundant test. 2012-04-01 20:43:39 -03:00
Pablo Belloc
bee3e1bca4 Remove SocketHandler's ConnecitonException and WriteToSocketException - replace them with \UnexpectedValueException and \RuntimeException respectively 2012-03-28 08:49:25 -03:00
Johannes M. Schmitt
8ee130dd24 made change BC 2012-03-21 20:16:42 -06:00
Johannes M. Schmitt
8cdc9c6e10 extracted activation logic from FingersCrossedHandler 2012-03-19 01:55:18 -06:00