Beispiel #1
0
 public static void WriteWarning(VText warning)
 {
     warning = Text("WARNING: ").Plus(warning);
     warning.Apply(VTextTransform.SetForeground(ColorStandards.Warning, true));
     Log.Add(warning.ToString(), Log.MessageType.Warning);
     Console.WriteLine(warning);
 }
Beispiel #2
0
 public static void WriteDebug(VText debug)
 {
     debug = Text("DEBUG: ").Plus(debug);
     debug.Apply(VTextTransform.SetForeground(ColorStandards.Debug, true));
     Log.Add(debug.ToString(), Log.MessageType.Debug);
     Console.WriteLine(debug);
 }
Beispiel #3
0
 public static void WriteError(VText error, bool deadly = false)
 {
     error = Text("ERROR: ").Plus(error);
     error = error.Apply(VTextTransform.SetForeground(ColorStandards.Error, true));
     Log.Add(error.ToString(), Log.MessageType.Error);
     Console.WriteLine(error);
 }