e176ccbab5
- DbConnectionFactory renamed to "Database", will now be the primary entry point for DB stuff - Created IPKConnection interface mostly containing async extensions to IDbConnection, use this going forward - Reworked the Connection/Command wrappers (that have performance/logging extensions) - Probably more stuff that I forgot???
16 lines
486 B
C#
16 lines
486 B
C#
using Serilog.Events;
|
|
|
|
namespace PluralKit.Core
|
|
{
|
|
public class CoreConfig
|
|
{
|
|
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 LogEventLevel ConsoleLogLevel { get; set; } = LogEventLevel.Verbose;
|
|
public LogEventLevel FileLogLevel { get; set; } = LogEventLevel.Information;
|
|
}
|
|
} |