Exemple #1
0
        public static void Say(string s)
        {
            string inf = MyConvert.ZHLC(string.Format("{0}", s));

            _logger.Info(inf);
        }
Exemple #2
0
        /// <summary>
        /// 说出错误
        /// </summary>
        /// <param name="E"></param>
        /// <param name="DesWord"></param>
        public static void Say(Exception E, string DesWord)
        {
            string errorMessage = MyConvert.ZHLC(string.Format("\n{0}", DesWord));

            _logger.Error(errorMessage, E);
        }