Use LogSource Enum for logger and improve logging messages
This commit is contained in:
parent
0fe273151c
commit
2b85caeb29
16 changed files with 122 additions and 95 deletions
|
@ -102,7 +102,7 @@ namespace Geekbot.net.Commands.User.Ranking
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.Warning("Geekbot", $"Could not retrieve user {user.Name}", e);
|
||||
_logger.Warning(LogSource.Geekbot, $"Could not retrieve user {user.Name}", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue