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?