示例#1
0
 public static void Info(string message)
 {
     //如果不是二次开发操作员则不显示日志
     if (!AddinOperator.CurrentUserIsOperator())
     {
         return;
     }
     Logger.Info(message);
 }
示例#2
0
        public static void PrintEvn()
        {
            //如果不是二次开发操作员则不显示日志
            if (!AddinOperator.CurrentUserIsOperator())
            {
                return;
            }

            var data = AddinEnvironment.RequestParams();

            foreach (var item in data.AllKeys)
            {
                Logger.Info(item + " : " + data[item]);
            }
        }