Skip to content

Commit

Permalink
inerpolate string
Browse files Browse the repository at this point in the history
  • Loading branch information
erikmav committed Mar 27, 2024
1 parent b88fdc1 commit f5806d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log4net/Repository/Hierarchy/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ protected virtual void CallAppenders(LoggingEvent loggingEvent)
if (m_hierarchy is not null && !m_hierarchy.EmittedNoAppenderWarning && writes == 0)
{
m_hierarchy.EmittedNoAppenderWarning = true;
LogLog.Debug(declaringType, "No appenders could be found for logger [" + Name + "] repository [" + Repository?.Name + "]");
LogLog.Debug(declaringType, $"No appenders could be found for logger [{Name}] repository [{Repository?.Name}]");
LogLog.Debug(declaringType, "Please initialize the log4net system properly.");
try
{
Expand Down

0 comments on commit f5806d7

Please sign in to comment.