src/Plugin/Call/Calls.php
public static function logs($reference = null, $index = 0)
    {
        if (!func_num_args()) {
            return static::$_logs;
        }
        $result = [];
        $count = count(static::$_logs);
        for ($i = $index; $i < $count; $i++) {
            $logs = static::$_logs[$i];
            if ($log = static::_matchReference($reference, $logs)) {
                $result[] = $log;
            }
        }
        return $result;
    }
public static function logs($reference = null, $index = 0)
    {
        if (!func_num_args()) {
            return static::$_logs;
        }
        $result = [];
        $count = count(static::$_logs);
        for ($i = $index; $i < $count; $i++) {
            $logs = static::$_logs[$i];
            if ($log = static::_matchReference($reference, $logs)) {
                $result[] = $log;
            }
        }
        return $result;
    }
public static function logs ( $ reference = null , $ index = 0 ) { if ( ! func_num_args ( ) ) { return static :: $ _logs ; } $ result = [ ] ; $ count = count ( static :: $ _logs ) ; for ( $ i = $ index ; $ i < $ count ; $ i ++ ) { $ logs = static :: $ _logs [ $ i ] ; if ( $ log = static :: _matchReference ( $ reference , $ logs ) ) { $ result [ ] = $ log ; } } return $ result ; }
Get all logs or all logs related to an instance or a fully-namespaced class name.

@param  object|string $reference An instance or a fully-namespaced class name.
@param  integer      $index      Start index.
@return array                    The founded log calls.
Get all logs or all logs related to an instance or a fully - namespaced class name .