コード例 #1
0
        internal async void Log(API.LogType type, String message)
        {
            if (ParentMeasures.Contains(this) &&
                ParentRainmeterApis.Contains(Rainmeter))
            {
                try
                {
                    await Task.Run(() => Rainmeter.Log(type, message));

                    //Rainmeter.Log(API.LogType.Debug, message);
                }
                catch
                {
                    DebugLevel += 0;    // breakpoint
                }
            }
        }