-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-config.json
More file actions
46 lines (46 loc) · 1.18 KB
/
sample-config.json
File metadata and controls
46 lines (46 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"Discord": {
"Token": "NDU3NTA3NTUxNzI3MDU4OTQ2.XpDsgA.BItzNqFuaYvVDZ9hisBV4F_gj8A"
},
"Postgres": {
"ConnectionString": "Host=127.0.0.1;Port=5432;Database=Espeon;Username=postgres;Password=casino"
},
"Serilog": {
"Using": [
"Serilog.Sinks.Console",
"Serilog.Sinks.File",
"Serilog.Extensions.Logging",
"Espeon"
],
"Enrich": [
"WithClassName"
],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft.EntityFrameworkCore": "Warning",
"Microsoft.Extensions.Hosting": "Information"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"theme": "Espeon.EspeonLoggingConsoleTheme::Instance, Espeon",
"outputTemplate": "{Timestamp: HH:mm:ss} | {Level,-15} | {ClassName} | {Message}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "./logs/log-.txt",
"rollingInterval": "Day",
"outputTemplate": "{Timestamp:dd-MM-yyyy HH:mm:ss} | {Level} | {SourceContext} | {Message}{NewLine}{Exception}"
}
}
]
},
"Localisation": {
"Path": "./Localisation/"
}
}