Exemple #1
0
        public static void RecordInfo(string e)
        {
            LogImplement log = LogFactory.GetLogger("Info");

            log.Info(e);
        }
Exemple #2
0
        public static void RecordException(Exception e)
        {
            LogImplement log = LogFactory.GetLogger("Error");

            log.Error(e.Message + e.StackTrace);
        }
Exemple #3
0
        public static void RecordWarn(string e)
        {
            LogImplement log = LogFactory.GetLogger("Warn");

            log.Warming(e);
        }
Exemple #4
0
        public static void RecordDBInfo(object e)
        {
            LogImplement log = LogFactory.GetLogger("myLogger");

            log.Info(e);
        }
Exemple #5
0
        public static void RecordError(Type t, string e)
        {
            LogImplement log = LogFactory.GetLogger(t);

            log.Error(e);
        }