Gpf_Log_Logger::findFileByCallingMethod PHP Method

findFileByCallingMethod() private method

private findFileByCallingMethod ( $calls )
        private function findFileByCallingMethod($calls)
        {
            $functionNames = array('debug', 'info', 'warning', 'error', 'critical', 'log');
            $foundObject = null;
            foreach ($functionNames as $name) {
                $foundObject = $this->findCallingFile($calls, $name);
                if ($foundObject != null) {
                    return $foundObject;
                }
            }
            return null;
        }