Expand logging

This commit is contained in:
James Cole
2023-08-30 15:57:59 +02:00
parent 592fc71b4e
commit 0bf97ccf22
5 changed files with 101 additions and 60 deletions

View File

@@ -218,6 +218,7 @@ class AccountFactory
}
// create account!
$account = Account::create($databaseData);
Log::channel('audit')->info(sprintf('Account #%d ("%s") has been created.', $account->id, $account->name));
// update meta data:
$data = $this->cleanMetaDataArray($account, $data);