예제 #1
0
 public static void Write(string message, MessageLevel level)
 {
     Gmsh_Warp.GmshLoggerWrite(message, Enum.GetName(level.GetType(), level).ToLower(), ref Gmsh._staticreff);
     Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle);
 }
예제 #2
0
 /// <summary>
 /// Write a `message'. `level' can be "info", "warning" or "error".
 /// </summary>
 public static void Write(string message, string level = "info")
 {
     Gmsh_Warp.GmshLoggerWrite(message, level, ref Gmsh._staticreff);
     Gmsh.CheckException(MethodBase.GetCurrentMethod().MethodHandle);
 }