init
This commit is contained in:
22
Common/DTS.Common.Utilities/LevelTriggerLogging.cs
Normal file
22
Common/DTS.Common.Utilities/LevelTriggerLogging.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.Utilities.LTLogging
|
||||
{
|
||||
public class LevelTriggerLogging
|
||||
{
|
||||
private static readonly object ltLock = new object();
|
||||
|
||||
private const string LEVEL_TRIGGER_LOG = @"Logs\LevelTriggerSettings.txt";
|
||||
public static void LevelTriggerLog(string msg)
|
||||
{
|
||||
lock (ltLock)
|
||||
{
|
||||
System.IO.File.AppendAllText(LEVEL_TRIGGER_LOG, msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user