1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-02-24 23:12:33 +01:00

51 Commits

Author SHA1 Message Date
Jordi Boggiano
eaf2b07120 Serialize exceptions in a minimalistic way in the LineFormatter 2013-03-17 19:26:08 +01:00
Matt Labrum
6aac39cb25 Update GelfMessageFormatter to replace syslog constants with integers 2013-01-10 17:07:23 -08:00
Jordi Boggiano
119df2de09 Always use \n for line breaks 2013-01-10 17:58:58 +01:00
Gunnar Lium
71e9cf5626 Add linebreak to end of logstash records. 2013-01-09 16:25:35 +01:00
Jordi Boggiano
63e3bfdf7e Resolve json encoding errors issue globally, refs #137 2013-01-06 20:14:14 +01:00
Benjamin Grandfond
0945fcdccb Catch json_encode recursion error 2012-12-21 23:23:38 +01:00
Jordi Boggiano
5e78992f96 Make applicationName mandatory in LogstashFormatter 2012-12-14 12:15:52 +01:00
Jordi Boggiano
9c8db38385 CS fixes 2012-12-14 12:15:30 +01:00
Tim Mower
798a039040 Add applicationName option which gets set to the logstash @type field 2012-12-10 12:35:34 +00:00
Tim Mower
6aaf70d363 Rename classnames to LogstashFormatter as suggested by @stof 2012-12-10 12:17:05 +00:00
Tim Mower
32e6bff219 Move source files in preparation for rename to LogstashFormatter 2012-12-10 12:16:07 +00:00
Tim Mower
0a63050c7f Fix indentation 2012-10-17 08:14:19 +01:00
Tim Mower
93329e2a7f Add logstash formatter 2012-10-17 00:25:52 +01:00
Jordi Boggiano
a929570bb7 Fix json encoding, fixes #110 2012-09-05 21:32:46 +02:00
Jordi Boggiano
9dee289dae Fix formatters to handle new levels 2012-06-19 20:53:33 +02:00
Jordi Boggiano
388056fd92 Fix wildfire formatter with custom data types, refs #89 2012-06-15 18:55:16 +02:00
Jordi Boggiano
4829b09743 Avoid failures when normalizing exotic values, fixes #89 2012-06-15 16:45:26 +02:00
Jordi Boggiano
da33c84d07 CS fixes 2012-06-14 15:47:01 +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
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
0bd4d93006 Split off line formatter in normalizer + line formatters 2012-04-22 12:36:23 +02: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
Jordi Boggiano
8d4ac5c0f7 Rename ChromePhp to ChromePHP for consistency with FirePHP 2012-02-20 17:35:45 +01:00
Christophe Coevoet
e3e2bb2f4f Added a ChromePhpHandler.
Closes #56
2012-02-20 00:21:53 +01:00
Jordi Boggiano
f2abbf3f7c Adjust #39, only show extra/context when necessary, remove date 2011-08-03 18:41:13 +02:00
Kirill chEbba Chebunin
6e589ac028 Remove duplicated info about line and file in WildfireFormatter 2011-08-03 13:02:17 +04:00
Kirill chEbba Chebunin
4c07f2dcc5 Add support for objects in WildfireFormatter 2011-08-02 23:50:28 +04:00
Christophe Coevoet
9b2a64d64f Used the line and file in the FirePHP message 2011-07-04 22:02:45 +02:00
Jordi Boggiano
9c2f081c9a Add support for serializing resources in LineFormatter 2011-06-29 19:23:43 +02:00
Christophe Coevoet
e9f3e0c2d7 Moved the channel as label on the FirePHP message for a better formatting 2011-06-01 00:43:09 +02:00
Christophe Coevoet
c1675c59d8 Added the support of a logging context 2011-06-01 00:10:38 +02:00
Christophe Coevoet
a8d4fc4a34 Tweaked the formatting of complex data in the LineFormatter 2011-05-31 20:52:44 +02:00
Christophe Coevoet
0775b03de0 Added support of objects and arrays as values in LineFormatter. closes #19 2011-05-08 19:29:58 +02:00
Christophe Coevoet
7ebcc6420f Changed the FormatterInterface to return only the formatted message and added a batch formatting method 2011-05-07 00:55:59 +02:00
Christophe Coevoet
708d799e1d Simplified code 2011-05-06 19:48:34 +02:00
Christophe Coevoet
e059c441e0 Fixed CS and phpdoc 2011-05-06 19:47:27 +02:00
Jordi Boggiano
d3e89dbed1 Added CRITICAL and ALERT levels 2011-05-02 15:39:46 +02:00
Jordi Boggiano
252058251d Fixed previous commit 2011-04-25 15:52:10 +02:00
Jordi Boggiano
9e7471f77e Aligned log level conversion with the one of syslog 2011-04-25 15:49:27 +02:00
Jordi Boggiano
2b1c68e0d0 Make $initialized static
Removed custom writer, overriding is easy enough
CS fixes
Added TestFirePHPHandler class to enable testing of headers
2011-04-25 15:48:52 +02:00
Eric Clemmons
0148506b2e Added FirePHPHandler using a WildfireFormatter 2011-04-22 14:10:55 -07:00
Christophe Coevoet
87332a3e4e Added phpdoc for all methods and added the typehint for the FormatterInterface 2011-04-06 00:50:18 +02:00
Jordi Boggiano
6c24217c56 Renamed message to record 2011-02-25 23:01:43 +01:00
Jordi Boggiano
0bb419cb95 Added array output to LineFormatter 2011-02-23 10:57:27 +01:00
Jordi Boggiano
811e6c79d6 Added docblocks and fixed a couple tests 2011-02-22 12:10:54 +01:00
Jordi Boggiano
3fa6e4b91f Major refactoring to follow the Logbook model 2011-02-20 20:53:11 +01:00
Jordi Boggiano
860194e879 Messages are now passed as arrays 2011-02-18 19:19:24 +01:00
Jordi Boggiano
7239b5203b Added tests, fixed a bunch of bugs 2011-02-17 03:04:37 +01:00