示例#1
0
文件: LogImplement.cs 项目: wpmyj/six
        public static void RecordInfo(string e)
        {
            LogImplement log = LogFactory.GetLogger("Info");

            log.Info(e);
        }
示例#2
0
文件: LogImplement.cs 项目: wpmyj/six
        public static void RecordException(Exception e)
        {
            LogImplement log = LogFactory.GetLogger("Error");

            log.Error(e.Message + e.StackTrace);
        }
示例#3
0
文件: LogImplement.cs 项目: wpmyj/six
        public static void RecordWarn(string e)
        {
            LogImplement log = LogFactory.GetLogger("Warn");

            log.Warming(e);
        }
示例#4
0
文件: LogImplement.cs 项目: wpmyj/six
        public static void RecordDBInfo(object e)
        {
            LogImplement log = LogFactory.GetLogger("myLogger");

            log.Info(e);
        }
示例#5
0
文件: LogImplement.cs 项目: wpmyj/six
        public static void RecordError(Type t, string e)
        {
            LogImplement log = LogFactory.GetLogger(t);

            log.Error(e);
        }