|
|
@ -69,8 +69,6 @@ trait LogTrait
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->initializeLogServices();
|
|
|
|
$this->initializeLogServices();
|
|
|
|
|
|
|
|
|
|
|
|
$customData['server_ip'] = config('laravel-logs-layer.server_ip');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($this->logServices as $logService) {
|
|
|
|
foreach ($this->logServices as $logService) {
|
|
|
|
$logService->$method($message, [
|
|
|
|
$logService->$method($message, [
|
|
|
|
'custom_data' => $customData,
|
|
|
|
'custom_data' => $customData,
|
|
|
@ -149,8 +147,6 @@ trait LogTrait
|
|
|
|
|
|
|
|
|
|
|
|
$this->initializeLogServices();
|
|
|
|
$this->initializeLogServices();
|
|
|
|
|
|
|
|
|
|
|
|
$customData['server_ip'] = config('laravel-logs-layer.server_ip');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($this->logServices as $logService) {
|
|
|
|
foreach ($this->logServices as $logService) {
|
|
|
|
$logService->$log_level($caller, $exception, ExceptionContextDTO::fromArray([
|
|
|
|
$logService->$log_level($caller, $exception, ExceptionContextDTO::fromArray([
|
|
|
|
'code' => $errorCode,
|
|
|
|
'code' => $errorCode,
|
|
|
|