public static void RecordInfo(string e) { LogImplement log = LogFactory.GetLogger("Info"); log.Info(e); }
public static void RecordException(Exception e) { LogImplement log = LogFactory.GetLogger("Error"); log.Error(e.Message + e.StackTrace); }
public static void RecordWarn(string e) { LogImplement log = LogFactory.GetLogger("Warn"); log.Warming(e); }
public static void RecordDBInfo(object e) { LogImplement log = LogFactory.GetLogger("myLogger"); log.Info(e); }
public static void RecordError(Type t, string e) { LogImplement log = LogFactory.GetLogger(t); log.Error(e); }