mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-14 03:47:43 +01:00
Merge pull request #389 from Philpax/persistent-log-level
This commit is contained in:
commit
78f56480ab
5 changed files with 21 additions and 9 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue