12 references to TemplateMap
Microsoft.Extensions.Logging.Generators (12)
LoggerMessageGenerator.Emitter.cs (2)
217
foreach (KeyValuePair<string, string> t in lm.
TemplateMap
)
257
if (lm.
TemplateMap
.TryGetValue(name, out string value))
LoggerMessageGenerator.Parser.cs (10)
253
bool success = ExtractTemplates(message, lm.
TemplateMap
, lm.TemplateList);
400
if (lp.IsLogger && lm.
TemplateMap
.ContainsKey(paramName))
405
else if (lp.IsException && lm.
TemplateMap
.ContainsKey(paramName))
410
else if (lp.IsLogLevel && lm.
TemplateMap
.ContainsKey(paramName))
415
else if (lp.IsLogLevel && level != null && !lm.
TemplateMap
.ContainsKey(paramName) && !lm.
TemplateMap
.ContainsKey(lp.CodeName))
419
else if (lp.IsTemplateParameter && !lm.
TemplateMap
.ContainsKey(paramName) && !lm.
TemplateMap
.ContainsKey($"@{paramName}") && !lm.
TemplateMap
.ContainsKey(lp.CodeName))
478
foreach (KeyValuePair<string, string> t in lm.
TemplateMap
)