add new logger functions
This commit is contained in:
parent
dd9bc64f1e
commit
a98e09129d
@ -1,6 +1,12 @@
|
||||
class Logger {
|
||||
static log (...p) {
|
||||
console.log("[", new Date(), "]:", ...p);
|
||||
}
|
||||
static warn (...p) {
|
||||
console.warn("[", new Date(), "]:", ...p);
|
||||
}
|
||||
static debug (...p) {
|
||||
console.debug("[", new Date(), "]:", ...p);
|
||||
}
|
||||
static wslog (...p) {
|
||||
// return;
|
||||
|
Loading…
Reference in New Issue
Block a user