dolibarr.bankimport/vendor/nemiah/php-fints/lib/Tests/Fhp/CLILogger.php
data 94efa59df3 v1.7: Multi-invoice payments and payment unlinking
- Add multi-invoice payment support (link one bank transaction to multiple invoices)
- Add payment unlinking feature to correct wrong matches
- Show linked payments, invoices and bank entries in transaction detail view
- Allow linking already paid invoices to bank transactions
- Update README with new features
- Add CHANGELOG.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-20 09:00:05 +01:00

16 lines
420 B
PHP
Executable file

<?php
namespace Tests\Fhp;
/**
* A logger that prints log messages to the console (just PHP `echo`). This class is designed to be used only for
* testing purposes.
*/
class CLILogger extends \Psr\Log\AbstractLogger
{
public function log($level, $message, array $context = []): void
{
$message .= count($context) === 0 ? '' : ' ' . implode(', ', $context);
echo "$level: $message\n";
}
}