23 lines
581 B
C#
23 lines
581 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|