Browse Source

Add a new warning type (more "strong" but still a warning)

Godzil 5 years ago
parent
commit
f1a5d1b6a8
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/log.ts

+ 6 - 0
src/log.ts

@@ -26,6 +26,12 @@ export function warn(str: string)
   console.log(' \x1B[1;33m* WARN \x1B[0m: ' + str);
 }
 
+export function warnMore(str: string)
+{
+  /* Do fancy output */
+  console.log(' \x1B[1;38;5;166m* WARN \x1B[0m: ' + str);
+}
+
 export function dispEpisode(name: string, status: string, addNL: boolean)
 {
   /* Do fancy output */