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

724 Commits

Author SHA1 Message Date
Jordi Boggiano
9c7cb32b83 Add composer.json file 2011-06-09 23:00:06 +02:00
Christophe Coevoet
0d728feb7c Fixed forwarding of the context in logging calls 2011-06-01 01:05:23 +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
Jordi Boggiano
53c9b2050f Merge pull request #32 from stof/default_values
Added missing initialization of the arrays for TestHandler
2011-05-30 17:43:36 -07:00
Christophe Coevoet
c1669860fa Added missing initialization of the arrays for TestHandler 2011-05-31 00:23:27 +02:00
Jordi Boggiano
1defa7857f Fixed plugin protocol uri for FirePHPHandler, closes #25 2011-05-16 22:50:16 +02:00
Jordi Boggiano
5b88a7a67c Merge pull request #31 from weaverryan/stream_exception_language
Trying to carefully improve the language on a common exception message
2011-05-16 13:44:34 -07:00
Ryan Weaver
d39b7084cd Trying to carefully improve the language on a common exception message
For example, if using Symfony, this is probably that first thing you'll see after installing, because the logs directory won't be writable. So, ideally, it should be clear enough that the user knows to change the permissions on the directory. Many developers might not understand the idea of a "stream", but they do understand a file not being writable.
2011-05-14 18:32:30 -05:00
Jordi Boggiano
ee75a8f8f0 Merge pull request #29 from stof/refactoring
Refactoring
2011-05-11 17:23:12 -07:00
Christophe Coevoet
6c9946aca8 Tweaked the GroupHandler to make it handle a record only when needed 2011-05-11 23:59:45 +02:00
Christophe Coevoet
0defabb726 Refactored the AbstractHandler to avoid having some dummy write() methods 2011-05-11 18:43:04 +02:00
Jordi Boggiano
1d6697294d Merge remote-tracking branch 'lenar/forward-handler'
Fixes #28
2011-05-11 14:09:55 +02:00
lenar
e969124cec Update documentation about GroupHandler 2011-05-10 18:13:03 +03:00
lenar
b6949fbf8f Rename to GroupHandler, remove callback support, add couple of tests, try 2 2011-05-10 18:07:42 +03:00
lenar
0eb5896c5b Rename to GroupHandler, remove callback support, add couple of tests 2011-05-10 18:04:41 +03:00
lenar
6fcc54d09f Change the name to ForwarderHandler 2011-05-10 16:51:09 +03:00
lenar
8d68d4cef4 Fix variable name 2011-05-10 16:45:06 +03:00
lenar
2b6437bd87 Added ForwardHandler 2011-05-10 15:52:43 +03:00
Jordi Boggiano
0ce2cb2fc8 Updated README 2011-05-09 14:57:27 +02:00
Jordi Boggiano
580df22f5b Updated README to document all existing handlers 2011-05-09 14:57:25 +02:00
Jordi Boggiano
ffbb7b86d6 Merge pull request #27 from stof/object-formatting
Added support of objects and arrays as values in LineFormatter
2011-05-09 04:31:12 -07:00
Christophe Coevoet
0775b03de0 Added support of objects and arrays as values in LineFormatter. closes #19 2011-05-08 19:29:58 +02:00
Jordi Boggiano
0ebdf69daa Merge pull request #26 from stof/swiftmailer-callback
Added the possibility to configure the message using a callback in SwiftMailerHandler
2011-05-08 09:37:45 -07:00
Christophe Coevoet
6dd6f040e8 Updated README 2011-05-08 18:26:39 +02:00
Christophe Coevoet
b66b5f3b3c Added the possibility to configure the message using a callback in SwiftMailerHandler 2011-05-08 17:24:17 +02:00
Jordi Boggiano
8b6d35d667 Merge pull request #24 from stof/mailhandler
Added MailHandler, NativeMailHandler and SwiftMailerHandler
2011-05-08 07:51:09 -07:00
Christophe Coevoet
6aebccf34c Moved the use of the default formatter to the getter to keep the code DRY 2011-05-08 16:34:56 +02:00
Christophe Coevoet
c33eb7b032 Added a NativeMailerHandler using the PHP mail() function 2011-05-08 16:11:54 +02:00
Christophe Coevoet
d3bc58a01c Refactored the MailHandler to use the formatter to format the batch message 2011-05-08 15:18:58 +02:00
Christophe Coevoet
f9590bb545 Merge remote branch 'thesalla/mailhandler' into mailhandler 2011-05-08 14:44:25 +02:00
Jordi Boggiano
642a0faf45 Merge pull request #22 from stof/formatting_refactoring
Refactoring of FormatterInterface

format() must now return the formatted message and not the complete record.
2011-05-08 05:33:43 -07:00
Jordi Boggiano
37c82046a9 Merge pull request #23 from stof/fingerscrossed
FingersCrossedHandler improvements
2011-05-08 05:06:45 -07:00
Christophe Coevoet
a75f7963ee Added the possibility to configure whether the FingersCrossedHandler should continue to buffer after being triggered or not
The change is BC as the default is to stop buffering.
2011-05-07 01:28:00 +02:00
Christophe Coevoet
9b084240e9 Changed FingersCrossedHandler to use handleBatch when the buffer is triggered 2011-05-07 01:19:54 +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
Jordi Boggiano
d7f98df9ab Merge pull request #21 from stof/testhandler
Added support of ALERT and CRITICAL in TestHandler
2011-05-06 13:45:04 -07:00
Christophe Coevoet
10f5e3c746 Added support of ALERT and CRITICAL in TestHandler 2011-05-06 21:24:27 +02:00
Jordi Boggiano
c9481f262f Merge pull request #20 from stof/firephp
FirePHP Cleanups
2011-05-06 10:58:18 -07: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
Gyula Sallai
51a94dce2f Merge branches 'mailhandler' and 'master' into mailhandler 2011-05-01 09:10:27 +02:00
Gyula Sallai
d87ba1c6e5 Fixes 2011-04-28 18:02:38 +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
Jordi Boggiano
a0b8f75b2b Revert "Added processIsolation flag to PHPUnit so headers_sent() begins as false for each test"
This reverts commit 6f2c1682a724e0af515a4c9256451cfa60e77637.
2011-04-25 15:41:58 +02:00
Gyula Sallai
a1bc483041 Added SwiftMailerHandler, added write to MailHandler 2011-04-25 01:48:12 +02:00