NextDom\Helpers\LogHelper::add
Add a message to the log and ensure that there are never more than 1000 lines
Signature
public function add(string
$targetLog,
string
$logType,
string
$message,
[string
$logicalId = ''] )
Parameters
$targetLog
— string- Target log file
$logType
— string- Type of log
$message
— string- Message to log
$logicalId
— string- Logical id linked to this log (optional)
Returns
- bool
- True if log added