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-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; }
|
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
|
|
|
}
|