Display warning if Log message has been disposed
This commit is contained in:
parent
86934551d4
commit
81fb080fb4
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ public class Logger
|
|||
{
|
||||
if (b == null || b.Message == null)
|
||||
{
|
||||
LogWarn($"Missed log message due to garbage collection");
|
||||
_loggerObjects.LogsToPost.Remove(b);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue