2020-06-13 16:31:20 +00:00
|
|
|
using Serilog.Events;
|
|
|
|
|
2021-11-27 02:10:56 +00:00
|
|
|
namespace PluralKit.Core;
|
|
|
|
|
|
|
|
public class CoreConfig
|
2019-05-08 18:08:56 +00:00
|
|
|
{
|
2021-11-27 02:10:56 +00:00
|
|
|
public string Database { get; set; }
|
2022-11-23 09:17:19 +00:00
|
|
|
public string? MessagesDatabase { get; set; }
|
2022-06-13 19:23:13 +00:00
|
|
|
public string? DatabasePassword { get; set; }
|
2022-01-13 17:26:25 +00:00
|
|
|
public string RedisAddr { get; set; }
|
2022-03-15 03:33:22 +00:00
|
|
|
public bool UseRedisMetrics { get; set; } = false;
|
2021-11-27 02:10:56 +00:00
|
|
|
public string SentryUrl { get; set; }
|
|
|
|
public string InfluxUrl { get; set; }
|
|
|
|
public string InfluxDb { get; set; }
|
|
|
|
public string LogDir { get; set; }
|
|
|
|
public string? ElasticUrl { get; set; }
|
2022-12-03 11:49:19 +00:00
|
|
|
public string? SeqLogUrl { get; set; }
|
2020-06-13 16:31:20 +00:00
|
|
|
|
2021-11-27 02:10:56 +00:00
|
|
|
public LogEventLevel ConsoleLogLevel { get; set; } = LogEventLevel.Debug;
|
|
|
|
public LogEventLevel ElasticLogLevel { get; set; } = LogEventLevel.Information;
|
|
|
|
public LogEventLevel FileLogLevel { get; set; } = LogEventLevel.Information;
|
2019-05-08 18:08:56 +00:00
|
|
|
}
|