diff options
author | 杨宇千 <crupest@outlook.com> | 2019-10-24 16:56:41 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-10-24 16:56:41 +0800 |
commit | c324d1dad0ffc1a1013b22792078415e7a50c470 (patch) | |
tree | c8f5032f86d8a9e5df0117d438ea741cb0a4f613 /Timeline/Helpers/Log.cs | |
parent | 9a163719b76958374d1c27616393368e54e8b8a5 (diff) | |
download | timeline-c324d1dad0ffc1a1013b22792078415e7a50c470.tar.gz timeline-c324d1dad0ffc1a1013b22792078415e7a50c470.tar.bz2 timeline-c324d1dad0ffc1a1013b22792078415e7a50c470.zip |
...
Diffstat (limited to 'Timeline/Helpers/Log.cs')
-rw-r--r-- | Timeline/Helpers/Log.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Timeline/Helpers/Log.cs b/Timeline/Helpers/Log.cs index 8deebf1d..68c975fa 100644 --- a/Timeline/Helpers/Log.cs +++ b/Timeline/Helpers/Log.cs @@ -3,26 +3,6 @@ using System.Text; namespace Timeline.Helpers
{
- // TODO! Remember to remove this after refactor.
- public static class MyLogHelper
- {
- public static KeyValuePair<string, object> Pair(string key, object value) => new KeyValuePair<string, object>(key, value);
-
- public static string FormatLogMessage(string summary, params KeyValuePair<string, object>[] properties)
- {
- var builder = new StringBuilder();
- builder.Append(summary);
- foreach (var property in properties)
- {
- builder.AppendLine();
- builder.Append(property.Key);
- builder.Append(" : ");
- builder.Append(property.Value);
- }
- return builder.ToString();
- }
- }
-
public static class Log
{
public static string Format(string summary, params (string, object?)[] properties)
|