Beispiel #1
0
        public static void Log(this ITrigger _in)
        {
            var sb = new StringBuilder();

            sb.AppendLine("Trigger " + _in.Key);
            var _props = _in.GetProperties();

            foreach (var prop in _props)
            {
                sb.AppendLine(" - " + prop.Name + " : " + prop.GetValue(_in));
            }
            LogsAppendersManager.Instance.Debug(typeof(ITrigger), MethodBase.GetCurrentMethod(), sb.ToString());
        }