comment debug log

This commit is contained in:
2023-02-12 21:05:34 +01:00
parent c392ffde0d
commit 07ae847443

View File

@@ -35,7 +35,7 @@ class GoogleCalendarService {
); );
try { try {
Log::debug('G-Calendar: Call google with #getCalendar for calendar with id: ' . $calendarId); //Log::debug('G-Calendar: Call google with #getCalendar for calendar with id: ' . $calendarId);
$response = $this->service->events->listEvents($calendarId, $params); $response = $this->service->events->listEvents($calendarId, $params);
Cache::put($this->cacheKeyCalendarGet.$calendarId, $response, $cacheTime); Cache::put($this->cacheKeyCalendarGet.$calendarId, $response, $cacheTime);
@@ -56,7 +56,7 @@ class GoogleCalendarService {
if(!isset($cachedCalendarList) || $cacheTime == 0) { if(!isset($cachedCalendarList) || $cacheTime == 0) {
try { try {
Log::debug('G-Calendar: Call google with #calendarList.'); //Log::debug('G-Calendar: Call google with #calendarList.');
$response = $this->service->calendarList->listCalendarList()->getItems(); $response = $this->service->calendarList->listCalendarList()->getItems();
Cache::put($this->cacheKeyCalendarList, $response, $cacheTime); Cache::put($this->cacheKeyCalendarList, $response, $cacheTime);