21 lines
767 B
C#
21 lines
767 B
C#
using Serilog.Events;
|
|
|
|
namespace PluralKit.Core;
|
|
|
|
public class CoreConfig
|
|
{
|
|
public string Database { get; set; }
|
|
public string? MessagesDatabase { get; set; }
|
|
public string? DatabasePassword { get; set; }
|
|
public string RedisAddr { get; set; }
|
|
public bool UseRedisMetrics { get; set; } = false;
|
|
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; }
|
|
|
|
public LogEventLevel ConsoleLogLevel { get; set; } = LogEventLevel.Debug;
|
|
public LogEventLevel ElasticLogLevel { get; set; } = LogEventLevel.Information;
|
|
public LogEventLevel FileLogLevel { get; set; } = LogEventLevel.Information;
|
|
} |