aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-30 20:45:18 +0100
committerGitHub <noreply@github.com>2022-10-30 20:45:18 +0100
commit8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59 (patch)
tree8397630ff18f8fa8952396334b3e4c003786cd07 /src/utils
parentb905743077f5ffdd09c8ff3464ac19f770ae875f (diff)
downloadVencord-8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59.tar.gz
Vencord-8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59.tar.bz2
Vencord-8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59.zip
Webpack Warnings & Errors (#178)
* dev: Useful strict Warnings & Errors * Always log error * Ignore pending patches with all or whose predicate = false * Error -> Warn
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/logger.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/logger.ts b/src/utils/logger.ts
index 24cd2c8..88ebb43 100644
--- a/src/utils/logger.ts
+++ b/src/utils/logger.ts
@@ -29,7 +29,7 @@ export default class Logger {
return ["%c %c %s ", "", `background: ${color}; color: black; font-weight: bold; border-radius: 5px;`, title];
}
- constructor(public name: string, public color: string) { }
+ constructor(public name: string, public color: string = "white") { }
private _log(level: "log" | "error" | "warn" | "info" | "debug", levelColor: string, args: any[], customFmt = "") {
console[level](