fix: Fixes structured logging (#1043)
- [X] Fixes various bugs in logging.
This commit is contained in:
parent
78bb4f4bb2
commit
6e69d25e33
31 changed files with 96 additions and 102 deletions
|
|
@ -122,14 +122,14 @@ namespace Server.Misc
|
|||
if (boxes > 0)
|
||||
{
|
||||
logger.Information(
|
||||
"Cleanup: Detected {0} inaccessible items, including {1} bank boxes, removing..",
|
||||
"Cleanup: Detected {Count} inaccessible items, including {BankBoxes} bank boxes, removing..",
|
||||
items.Count,
|
||||
boxes
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
logger.Information("Cleanup: Detected {0} inaccessible items, removing..", items.Count);
|
||||
logger.Information("Cleanup: Detected {Count} inaccessible items, removing..", items.Count);
|
||||
}
|
||||
|
||||
for (var i = 0; i < items.Count; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue