mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(dotnet): json stdout logging
This commit is contained in:
parent
c56fd36023
commit
0fa0070d41
12 changed files with 348 additions and 140 deletions
|
|
@ -158,7 +158,7 @@ public class Init
|
|||
var builder = new ContainerBuilder();
|
||||
builder.RegisterInstance(config);
|
||||
builder.RegisterModule(new ConfigModule<BotConfig>("Bot"));
|
||||
builder.RegisterModule(new LoggingModule("bot"));
|
||||
builder.RegisterModule(new LoggingModule("dotnet-bot"));
|
||||
builder.RegisterModule(new MetricsModule());
|
||||
builder.RegisterModule<DataStoreModule>();
|
||||
builder.RegisterModule<BotModule>();
|
||||
|
|
|
|||
|
|
@ -423,11 +423,11 @@
|
|||
},
|
||||
"Serilog.Extensions.Logging": {
|
||||
"type": "Transitive",
|
||||
"resolved": "9.0.0",
|
||||
"contentHash": "NwSSYqPJeKNzl5AuXVHpGbr6PkZJFlNa14CdIebVjK3k/76kYj/mz5kiTRNVSsSaxM8kAIa1kpy/qyT9E4npRQ==",
|
||||
"resolved": "8.0.0",
|
||||
"contentHash": "YEAMWu1UnWgf1c1KP85l1SgXGfiVo0Rz6x08pCiPOIBt2Qe18tcZLvdBUuV5o1QHvrs8FAry9wTIhgBRtjIlEg==",
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.Logging": "9.0.0",
|
||||
"Serilog": "4.2.0"
|
||||
"Microsoft.Extensions.Logging": "8.0.0",
|
||||
"Serilog": "3.1.1"
|
||||
}
|
||||
},
|
||||
"Serilog.Formatting.Compact": {
|
||||
|
|
@ -796,8 +796,8 @@
|
|||
"NodaTime.Serialization.JsonNet": "[3.1.0, )",
|
||||
"Npgsql": "[9.0.2, )",
|
||||
"Npgsql.NodaTime": "[9.0.2, )",
|
||||
"Serilog": "[4.2.0, )",
|
||||
"Serilog.Extensions.Logging": "[9.0.0, )",
|
||||
"Serilog": "[4.1.0, )",
|
||||
"Serilog.Extensions.Logging": "[8.0.0, )",
|
||||
"Serilog.Formatting.Compact": "[3.0.0, )",
|
||||
"Serilog.NodaTime": "[3.0.0, )",
|
||||
"Serilog.Sinks.Async": "[2.1.0, )",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue