소스 검색

enable debug

andre 1 년 전
부모
커밋
a9b79fd5dc
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  1. 17 0
      app/Libs/Zimbra/Components/Api/Soap/Actions/ClassOfServices.php

+ 17 - 0
app/Libs/Zimbra/Components/Api/Soap/Actions/ClassOfServices.php

@@ -19,9 +19,26 @@ class ClassOfServices extends AbstractAction
 
     public function getAllCos()
     {
+
+        logModuleCall(
+            'zimbraEmail',
+            __FUNCTION__,
+            $this,
+            "Debug5",
+            "calling GetAllCosRequest"
+        );
+
         $result = $this->connection->request("GetAllCosRequest");
         $body = $result->getResponseBody();
 
+        logModuleCall(
+            'zimbraEmail',
+            __FUNCTION__,
+            $this,
+            "Debug6",
+            $result
+        );
+
         return $body['GETALLCOSRESPONSE']['COS'];
 
     }