app/Log.php
public static function addSearchLog($message, array $trees): void
    {
        foreach ($trees as $tree) {
            self::addLog($message, self::TYPE_SEARCH, $tree);
        }
    }
public static function addSearchLog($message, array $trees): void
    {
        foreach ($trees as $tree) {
            self::addLog($message, self::TYPE_SEARCH, $tree);
        }
    }
public static function addSearchLog ( $ message , array $ trees ) : void { foreach ( $ trees as $ tree ) { self :: addLog ( $ message , self :: TYPE_SEARCH , $ tree ) ; } }
Store a search event in the message log.
Unlike most webtrees activity, search is not restricted to a single tree,
so we need to record which trees were searchecd.

@param string $message
@param Tree[] $trees Which trees were searched

@return void
Store a search event in the message log . Unlike most webtrees activity search is not restricted to a single tree so we need to record which trees were searchecd .