diff options
Diffstat (limited to 'src/StardewModdingAPI/LogInfo.cs')
-rw-r--r-- | src/StardewModdingAPI/LogInfo.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/LogInfo.cs b/src/StardewModdingAPI/LogInfo.cs index 2e8d42b6..ffef7cef 100644 --- a/src/StardewModdingAPI/LogInfo.cs +++ b/src/StardewModdingAPI/LogInfo.cs @@ -20,6 +20,9 @@ namespace StardewModdingAPI /// <summary>The message color.</summary> public ConsoleColor Colour { get; set; } + /// <summary>Whether the message should be printed to the console.</summary> + internal bool PrintConsole { get; set; } + /********* ** Public methods @@ -35,6 +38,7 @@ namespace StardewModdingAPI this.LogDate = DateTime.Now.ToString("yyyy-MM-dd"); this.LogTime = DateTime.Now.ToString("HH:mm:ss"); this.Colour = color; + this.PrintConsole = true; } } } |