Google\Cloud\Logging\V2\LoggingServiceV2Client::parseProjectFromLogName PHP Method

parseProjectFromLogName() public static method

Parses the project from the given fully-qualified path which represents a log resource.
public static parseProjectFromLogName ( $logName )
    public static function parseProjectFromLogName($logName)
    {
        return self::getLogNameTemplate()->match($logName)['project'];
    }