diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-01-02 19:59:38 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-01-02 19:59:38 -0500 |
commit | e30e42762871af3900c47886b57e8c43287b290a (patch) | |
tree | 640bee64de4be8e369153ee45228aa60c571eacf /src/SMAPI.Web/ViewModels | |
parent | 1fab386ab1ba6ae92ff934c3869f31a1660cf3b3 (diff) | |
download | SMAPI-e30e42762871af3900c47886b57e8c43287b290a.tar.gz SMAPI-e30e42762871af3900c47886b57e8c43287b290a.tar.bz2 SMAPI-e30e42762871af3900c47886b57e8c43287b290a.zip |
add download option to log view
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r-- | src/SMAPI.Web/ViewModels/LogViewFormat.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/SMAPI.Web/ViewModels/LogViewFormat.cs b/src/SMAPI.Web/ViewModels/LogViewFormat.cs new file mode 100644 index 00000000..7ef79319 --- /dev/null +++ b/src/SMAPI.Web/ViewModels/LogViewFormat.cs @@ -0,0 +1,15 @@ +namespace StardewModdingAPI.Web.ViewModels +{ + /// <summary>How a log file should be displayed.</summary> + public enum LogViewFormat + { + /// <summary>Render a parsed log and metadata.</summary> + Default, + + /// <summary>Render a raw log with parsed metadata.</summary> + RawView, + + /// <summary>Render directly as a text file.</summary> + RawDownload + } +} |