1 |
- class Logger{constructor(){this.user=null}log(...a){console.log("%c[*] \t Logger \t [*]","color:black"),console.log(...a)}error(...a){throw console.log("%c[XXX] \t Logger Error \t [XXX]","color:red"),console.log(...a),console.log("%c[^] \t END END END\t [^]","color:red"),a}warning(...a){console.log("%c [Warning] \t Logger Warning \t [Warning]","color: #F08700"),console.log(...a)}}export default new Logger;
|