2020-06-13 18:31:20 +02:00
|
|
|
using Serilog.Events;
|
|
|
|
|
2021-11-26 21:10:56 -05:00
|
|
|
namespace PluralKit.Core;
|
|
|
|
|
|
|
|
public class CoreConfig
|
2019-05-08 20:08:56 +02:00
|
|
|
{
|
2021-11-26 21:10:56 -05:00
|
|
|
public string Database { get; set; }
|
2022-01-13 12:26:25 -05:00
|
|
|
public string RedisAddr { get; set; }
|
2021-11-26 21:10:56 -05: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 18:31:20 +02:00
|
|
|
|
2021-11-26 21:10:56 -05: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 20:08:56 +02:00
|
|
|
}
|