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

14 Commits

Author SHA1 Message Date
Jordi Boggiano
0178fd4f09 CS fixes, refs #683 2015-11-18 17:53:15 +00:00
Jordi Boggiano
9532e979b6 Merge remote-tracking branch 'bd808/feature/clean-json' 2015-11-18 17:50:41 +00:00
Jordi Boggiano
c889fb2648 CS fixes & upgrading cs fixer config 2015-11-18 17:09:46 +00:00
Bryan Davis
6f9e221bd6 Attempt to recover from json encoding errors
Detect and attempt to recover from json_encode errors triggered by
strings containing invalid UTF-8 sequences. Recovery will only be
attempted when encoding strings or arrays. If recovery fails then
a RuntimeException will be thrown.

The recovery process will convert invalid UTF-8 codepoints as though the
input string was encoded using the ISO-8859-15 character encoding. This
conversion may result in incorrect string output if the original
encoding was not ISO-8859-15, but it will be a valid UTF-8 string.

Closes #545
2015-11-12 10:59:27 -07:00
Jordi Boggiano
b738a6c04c CS fixes 2014-10-17 19:12:45 +01:00
Jordi Boggiano
392ef35fd4 CS fixes 2014-03-23 20:50:26 +01:00
Albert Casademont
899f7f52e5 Add millisecond precision in the LogstashFormatter 2013-11-11 15:50:38 +01:00
Jordi Boggiano
99aad2e059 Formatting fixes 2013-09-16 11:56:03 +02:00
Oliver Byford
45ae71f9a6 Merge Logstach V1 logic into the main Logstash formatter, add a parameter to the constructor to specify version
Defaults to version '0'.
2013-09-16 10:19:26 +01:00
Jordi Boggiano
0df12342ef Fix tests 2012-12-14 12:27:44 +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