public static IDataReader GetPageDescending( int pageNumber, int pageSize, out int totalPages) { return(DBSystemLog.GetPageDescending(pageNumber, pageSize, out totalPages)); }
public static int Log( string ipAddress, string culture, string url, string thread, string logLevel, string logger, string message) { string shortUrl = null; if (!string.IsNullOrEmpty(url)) { if (url.Length >= 255) { shortUrl = url.Substring(0, 255); } else { shortUrl = url; } } return(DBSystemLog.Create( DateTime.UtcNow, ipAddress, culture, url, shortUrl, thread, logLevel, logger, message)); }
public static bool DeleteByLevel(string logLevel) { return(DBSystemLog.DeleteByLevel(logLevel)); }
public static bool DeleteOlderThan(DateTime cutoffDate) { return(DBSystemLog.DeleteOlderThan(cutoffDate)); }
public static bool Delete(int id) { return(DBSystemLog.Delete(id)); }
public static void DeleteAll() { DBSystemLog.DeleteAll(); }