3 instantiations of LogValuesFormatter
Microsoft.Extensions.Logging.Abstractions (3)
FormattedLogValues.cs (2)
39_formatter = new LogValuesFormatter(format); 47return new LogValuesFormatter(f);
LoggerMessage.cs (1)
454var logValuesFormatter = new LogValuesFormatter(formatString);
34 references to LogValuesFormatter
Microsoft.Extensions.Logging.Abstractions (34)
FormattedLogValues.cs (4)
22private static readonly ConcurrentDictionary<string, LogValuesFormatter> s_formatters = new ConcurrentDictionary<string, LogValuesFormatter>(); 24private readonly LogValuesFormatter? _formatter; 29internal LogValuesFormatter? Formatter => _formatter;
LoggerMessage.cs (30)
23LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 0); 38LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 1); 52LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 2); 67LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 3); 83LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 4); 100LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 5); 118LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 6); 143LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 0); 186LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 1); 231LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 2); 278LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 3); 327LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 4); 378LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 5); 431LogValuesFormatter formatter = CreateLogValuesFormatter(formatString, expectedNamedParameterCount: 6); 452private static LogValuesFormatter CreateLogValuesFormatter(string formatString, int expectedNamedParameterCount) 454var logValuesFormatter = new LogValuesFormatter(formatString); 470private readonly LogValuesFormatter _formatter; 472public LogValues(LogValuesFormatter formatter) 508private readonly LogValuesFormatter _formatter; 511public LogValues(LogValuesFormatter formatter, T0 value0) 556private readonly LogValuesFormatter _formatter; 560public LogValues(LogValuesFormatter formatter, T0 value0, T1 value1) 607private readonly LogValuesFormatter _formatter; 634public LogValues(LogValuesFormatter formatter, T0 value0, T1 value1, T2 value2) 662private readonly LogValuesFormatter _formatter; 692public LogValues(LogValuesFormatter formatter, T0 value0, T1 value1, T2 value2, T3 value3) 723private readonly LogValuesFormatter _formatter; 756public LogValues(LogValuesFormatter formatter, T0 value0, T1 value1, T2 value2, T3 value3, T4 value4) 788private readonly LogValuesFormatter _formatter; 824public LogValues(LogValuesFormatter formatter, T0 value0, T1 value1, T2 value2, T3 value3, T4 value4, T5 value5)