/// <summary> /// /// </summary> /// <param name="message"></param> public static ServiceLog Information(String message, Boolean autoPush = true) { var log = new ServiceLog() { Reason = Type.Information, Message = message }; if (autoPush) log.Save(); return log; }
/// <summary> /// /// </summary> /// <param name="p"></param> internal static ServiceLog Error(String message, Boolean autoPush = true) { var log = new ServiceLog() { Reason = Type.Error, Message = message }; if (autoPush) log.Save(); return log; }