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