Processes a record's message according to PSR-3 rules
It replaces {foo} with the value from $context['foo']
__invoke(array $record) : array