It's ASP.NET Core logging - or more generally, logging via Microsoft.Extensions.Logging.Abstractions
.
Although it looks a bit like C# interpolated string literals, the message is actually formatted by the logging infrastructure. The string is a message template. The names specified in the message template are entirely independent of the expressions provided later - but the order of the placeholders is expected to be the order of the values provided.
This allows logging provides to extract key/value pairs to perform structural logging... so for example you could end up with a log entry in JSON like this:
{
"message": "Queued Background Task 1234-5678[...] is running. 100/3",
"properties": {
"Guid": "1234-5678[...]",
"DelayLoop": 100
}
}
(It depends on the logging provider.)
LogInformation
method. That's not related to normal string formatting.LogInformation
method to rule out that some arbitrary magic values have been used, but they would be oddly specific arbitrary magic values.