This commit is contained in:
Jiiks 2016-11-04 06:46:02 +02:00
parent d5f16c0b2d
commit 5dc6327fda
1 changed files with 16 additions and 0 deletions

View File

@ -13,6 +13,22 @@ define(() => {
class Utils { class Utils {
constructor() {
}
log(msg) {
console.log(`%c[%cBetterDiscord|INF%c] %c${msg}`, 'color: #000;', 'color: green; font-weight:#000;', 'color:#00;', '');
}
warn(msg) {
console.log(`%c[%cBetterDiscord|WRN%c] %c${msg}`, 'color: #000;', 'color: orange; font-weight:700;', 'color:#000;', '');
}
err(msg) {
console.log(`%c[%cBetterDiscord|ERR%c] %c${msg}`, 'color: #000;', 'color: red; font-weight:700;', 'color:#000;', '');
}
} }
return new Utils(); return new Utils();