mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add line break to log message
This commit is contained in:
parent
37775a1d33
commit
8af971872e
@ -377,7 +377,7 @@ class InvoiceRepository extends BaseRepository
|
||||
if (Utils::isNinjaProd() && ! Utils::isReseller()) {
|
||||
$copy = json_decode( json_encode($data), true);
|
||||
$copy['data'] = false;
|
||||
$logMessage = date('r') . ' account_id: ' . $account->id . ' ' . json_encode($copy);
|
||||
$logMessage = date('r') . ' account_id: ' . $account->id . ' ' . json_encode($copy) . "\n\n";
|
||||
@file_put_contents(storage_path('logs/invoice-repo.log'), $logMessage, FILE_APPEND);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user