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