using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using StardewModdingAPI.Web.Framework.LogParsing.Models; namespace StardewModdingAPI.Web.Framework.LogParsing { /// Parses SMAPI log files. public class LogParser { /********* ** Properties *********/ /// A regex pattern matching the start of a SMAPI message. private readonly Regex MessageHeaderPattern = new Regex(@"^\[(?