Exemplo n.º 1
0
 public static void ASSERT_WARNING(bool cond, String msg,
                                   [CallerLineNumber] int cln = 0, [CallerFilePath] String csf = "", [CallerMemberName] String cmn = "")
 {
     if (!cond)
     {
         Report.GetDefault().DoReport(1, msg, csf, cln, cmn);
     }
 }
Exemplo n.º 2
0
 public static void ASSERT(bool cond,
                           [CallerLineNumber] int cln = 0, [CallerFilePath] String csf = "", [CallerMemberName] String cmn = "")
 {
     if (!cond)
     {
         Report.GetDefault().DoReport(0, "Internal Error", csf, cln, cmn);
     }
 }
Exemplo n.º 3
0
 public static void WARNING(String msg,
                            [CallerLineNumber] int cln = 0, [CallerFilePath] String csf = "", [CallerMemberName] String cmn = "")
 {
     Report.GetDefault().DoReport(1, msg, csf, cln, cmn);
 }
Exemplo n.º 4
0
 public static void REPORT(int type, String msg,
                           [CallerLineNumber] int cln = 0, [CallerFilePath] String csf = "", [CallerMemberName] String cmn = "")
 {
     Report.GetDefault().DoReport(type, msg, csf, cln, cmn);
 }