summaryrefslogtreecommitdiff
path: root/src/SMAPI.Internal/ConsoleWriting/ConsoleLogLevel.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-23 17:09:35 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-23 17:09:35 -0400
commit1b5055dfaafc6dcf77b5262b8290e8ca2c8179ed (patch)
treedfdcd74b603fa897865c1d03190f717fcabc20fa /src/SMAPI.Internal/ConsoleWriting/ConsoleLogLevel.cs
parente6edf8adc7bfe470c005af4a1f51217c0f355831 (diff)
downloadSMAPI-1b5055dfaafc6dcf77b5262b8290e8ca2c8179ed.tar.gz
SMAPI-1b5055dfaafc6dcf77b5262b8290e8ca2c8179ed.tar.bz2
SMAPI-1b5055dfaafc6dcf77b5262b8290e8ca2c8179ed.zip
make console colors configurable
Diffstat (limited to 'src/SMAPI.Internal/ConsoleWriting/ConsoleLogLevel.cs')
-rw-r--r--src/SMAPI.Internal/ConsoleWriting/ConsoleLogLevel.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/SMAPI.Internal/ConsoleWriting/ConsoleLogLevel.cs b/src/SMAPI.Internal/ConsoleWriting/ConsoleLogLevel.cs
new file mode 100644
index 00000000..54564111
--- /dev/null
+++ b/src/SMAPI.Internal/ConsoleWriting/ConsoleLogLevel.cs
@@ -0,0 +1,30 @@
+namespace StardewModdingAPI.Internal.ConsoleWriting
+{
+ /// <summary>The log severity levels.</summary>
+ internal enum ConsoleLogLevel
+ {
+ /// <summary>Tracing info intended for developers.</summary>
+ Trace,
+
+ /// <summary>Troubleshooting info that may be relevant to the player.</summary>
+ Debug,
+
+ /// <summary>Info relevant to the player. This should be used judiciously.</summary>
+ Info,
+
+ /// <summary>An issue the player should be aware of. This should be used rarely.</summary>
+ Warn,
+
+ /// <summary>A message indicating something went wrong.</summary>
+ Error,
+
+ /// <summary>Important information to highlight for the player when player action is needed (e.g. new version available). This should be used rarely to avoid alert fatigue.</summary>
+ Alert,
+
+ /// <summary>A critical issue that generally signals an immediate end to the application.</summary>
+ Critical,
+
+ /// <summary>A success message that generally signals a successful end to a task.</summary>
+ Success
+ }
+}