View Single Post
  #9  
Old 05-03-2017, 10:23 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Membership by "code" and hide non-membership items

I believe you don't need the ",true" when calling the logCustom() method.
I.e. it should be something like this:
PHP Code:
\XLite\Logger::logCustom('techanalysts',['where' => $whereClause'membership' => $membership]); 

Does it create the "techanalysts.log.*****" file in the var/log/ directory?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions

Last edited by qualiteam : 05-03-2017 at 10:25 AM.
Reply With Quote