Merge pull request #389 from Philpax/persistent-log-level

This commit is contained in:
goaaats 2021-07-11 21:08:31 +02:00 committed by GitHub
commit 78f56480ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 9 deletions

View file

@ -5,6 +5,7 @@ using System.IO;
using Dalamud.Game.Text;
using Newtonsoft.Json;
using Serilog;
using Serilog.Events;
namespace Dalamud.Configuration
{
@ -12,7 +13,7 @@ namespace Dalamud.Configuration
/// Class containing Dalamud settings.
/// </summary>
[Serializable]
internal class DalamudConfiguration
public class DalamudConfiguration
{
[JsonIgnore]
private string configPath;
@ -113,6 +114,11 @@ namespace Dalamud.Configuration
/// </summary>
public bool DoButtonsSystemMenu { get; set; } = true;
/// <summary>
/// Gets or sets the default Dalamud debug log level on startup.
/// </summary>
public LogEventLevel LogLevel { get; set; } = LogEventLevel.Information;
/// <summary>
/// Gets or sets a value indicating whether or not the debug log should scroll automatically.
/// </summary>

View file

@ -3,7 +3,7 @@ namespace Dalamud.Configuration
/// <summary>
/// Third party repository for dalamud plugins.
/// </summary>
internal class ThirdRepoSetting
public class ThirdRepoSetting
{
/// <summary>
/// Gets or sets the third party repo url.