add new logger functions

This commit is contained in:
fullgream 2025-08-17 17:56:13 +03:00
parent dd9bc64f1e
commit a98e09129d

View File

@ -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;