-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLogger.cs
More file actions
28 lines (27 loc) · 907 Bytes
/
Logger.cs
File metadata and controls
28 lines (27 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using ExileCore2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TabletHighlight {
internal class Logger {
internal static DebugSettings DebugSettings = TabletHighlight.Instance.Settings.DebugSettings;
internal static void Log(string msg) {
if (DebugSettings.ShowDebug)
DebugWindow.LogMsg(msg);
}
internal static void Log(string msg, int time) {
if (DebugSettings.ShowDebug)
DebugWindow.LogMsg(msg, time);
}
internal static void LogError(string msg) {
if (DebugSettings.ShowDebug)
DebugWindow.LogError(msg);
}
internal static void LogError(string msg, int time) {
if (DebugSettings.ShowDebug)
DebugWindow.LogError(msg, time);
}
}
}