58 $logged = implode(
'; ', self::shortened(array_slice($entries, 0, self::MAX_LOGGED_ENTRIES)));
74 return array_map(
static fn(
string $entry):
string => mb_strimwidth($entry, 0, self::MAX_ENTRY_WIDTH,
'…'), $entries);
static keyList(array $keys, string $separator=', ')
The first MAX_LISTED_KEYS of $keys, then "… (+N)" for the rest (the full list belongs into the log).