We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d51ee9 commit 710c817Copy full SHA for 710c817
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+2019-05 (1.10.3)
4
+
5
+- New implementation for `dump()` in SwiftLogCollector (#265)
6
7
2014-12 (1.10.2):
8
9
- Use Symfony VarDumper instead of kintLite as DataFormatter (#179)
src/DebugBar/Bridge/SwiftMailer/SwiftLogCollector.php
@@ -34,7 +34,16 @@ public function add($entry)
34
35
public function dump()
36
{
37
- return implode(PHP_EOL, $this->_log);
+ $dump = '';
38
+ foreach ($this->messages as $message) {
39
+ if (!$message['is_string']) {
40
+ continue;
41
+ }
42
43
+ $dump .= $message['message'] . PHP_EOL;
44
45
46
+ return $dump;
47
}
48
49
public function getName()
0 commit comments