Skip to content

Commit f278172

Browse files
committed
Added test for Log::chunked
1 parent 795e6f5 commit f278172

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev/log.php

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
require __DIR__ . '/../vendor/autoload.php';
55

6+
Log::contained(true);
67
Log::setPurpose('Testing Log!');
78
$oTimer = Log::startTimer('test');
89
Log::justAddContext(['#persist' => 'persisted']);
@@ -15,6 +16,7 @@
1516
Log::e('Error!', ['context' => 'whatever']);
1617
Log::ex('Error!', new \Exception('Error!'), ['context' => 'whatever']);
1718
Log::c('Critical!', ['context' => 'whatever']);
19+
Log::chunked(Log::DEBUG, 'Debug Chunked', range(10, 100, 10), 3);
1820
Log::dt($oTimer);
1921
Log::summary();
2022
Log::d(Log::method('a\\b\\c\\d\\e\\f', 2));

0 commit comments

Comments
 (0)