public static void Info(string message) { //如果不是二次开发操作员则不显示日志 if (!AddinOperator.CurrentUserIsOperator()) { return; } Logger.Info(message); }
public static void PrintEvn() { //如果不是二次开发操作员则不显示日志 if (!AddinOperator.CurrentUserIsOperator()) { return; } var data = AddinEnvironment.RequestParams(); foreach (var item in data.AllKeys) { Logger.Info(item + " : " + data[item]); } }