예제 #1
0
 public static long SaveCriticalToDB(this string log)
 {
     return(DBLogs.SaveCritical(log));
 }
예제 #2
0
 public static long SaveErrorToDB(this string log)
 {
     return(DBLogs.SaveError(log));
 }
예제 #3
0
 public static long SaveErrorToDB(this string log, service service, eventID eventID)
 {
     return(DBLogs.SaveError(log, (service == service.Null ? (int?)null : (int)service), (eventID == eventID.Null ? (int?)null : (int)eventID)));
 }
예제 #4
0
 public static long SaveWarningToDB(this string log)
 {
     return(DBLogs.SaveWarning(log));
 }
예제 #5
0
 public static long SaveInformationToDB(this string log)
 {
     return(DBLogs.SaveInformation(log));
 }
예제 #6
0
 public static long SaveErrorToDB(this Exception ex)
 {
     return(DBLogs.SaveError(ex));
 }
예제 #7
0
 public static long SaveErrorToDB(this Exception ex, string user_message)
 {
     return(DBLogs.SaveError(ex, user_message));
 }
예제 #8
0
 public static long SaveErrorToDB(this Exception ex, service service, eventID eventID)
 {
     return(DBLogs.SaveError(ex, (service == service.Null ? (int?)null : (int)service), (eventID == eventID.Null ? (int?)null : (int)eventID)));
 }