mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 11:57:02 -04:00
Webpack Warnings & Errors (#178)
* dev: Useful strict Warnings & Errors * Always log error * Ignore pending patches with all or whose predicate = false * Error -> Warn
This commit is contained in:
parent
b905743077
commit
8adf7ca155
16 changed files with 90 additions and 55 deletions
|
@ -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](
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue