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
|
|
@ -5190,7 +5190,12 @@ namespace Server
|
|||
|
||||
if (oldAmount <= 0)
|
||||
{
|
||||
logger.Error($"Item {item.GetType()} ({item.Serial}) has amount of {oldAmount}, but must be at least 1");
|
||||
logger.Error(
|
||||
"Item {Type} ({Serial}) has amount of {OldAmount}, but must be at least 1",
|
||||
item.GetType(),
|
||||
item.Serial,
|
||||
oldAmount
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue