Update Logger.cs
This commit is contained in:
parent
7b5dfa673a
commit
933fe1f5e9
1 changed files with 3 additions and 0 deletions
|
|
@ -146,6 +146,9 @@ public class Logger : ILogger
|
||||||
{
|
{
|
||||||
int endIndex = leftOver.IndexOf('}');
|
int endIndex = leftOver.IndexOf('}');
|
||||||
|
|
||||||
|
if (currentArg > currentLog.Args.Length)
|
||||||
|
continue;
|
||||||
|
|
||||||
object objectToAdd = currentLog.Args[currentArg];
|
object objectToAdd = currentLog.Args[currentArg];
|
||||||
currentArg++;
|
currentArg++;
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue