summaryrefslogtreecommitdiff
path: root/lib/trace/log/ansi.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/trace/log/ansi.ts')
-rw-r--r--lib/trace/log/ansi.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/trace/log/ansi.ts b/lib/trace/log/ansi.ts
new file mode 100644
index 0000000..7ff16a3
--- /dev/null
+++ b/lib/trace/log/ansi.ts
@@ -0,0 +1,15 @@
+export const ANSI = {
+ RESET: '\x1b[0m',
+ BOLD: '\x1b[1m',
+ DIM: '\x1b[2m',
+ RED: '\x1b[31m',
+ GREEN: '\x1b[32m',
+ YELLOW: '\x1b[33m',
+ BLUE: '\x1b[34m',
+ MAGENTA: '\x1b[35m',
+ CYAN: '\x1b[36m',
+ WHITE: '\x1b[37m',
+ BRIGHT_RED: '\x1b[91m',
+ BRIGHT_YELLOW: '\x1b[93m',
+ GRAY: '\x1b[90m',
+};