Compare commits

..

1 commit

Author SHA1 Message Date
Slincnik
61a8926f0b
Merge 5deee996dc into b570759c09 2024-12-13 14:24:56 +05:00

View file

@ -21,27 +21,27 @@ const logLevels = {
}; };
export default { export default {
log(...content) { log(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.LOG} ${content.join(" ")}`); return console.log(`[${format(Date.now())}]: ${logLevels.LOG} ${content}`);
}, },
warn(...content) { warn(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.WARN} ${content.join(" ")}`); return console.log(`[${format(Date.now())}]: ${logLevels.WARN} ${content}`);
}, },
error(...content) { error(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.ERROR} ${content.join(" ")}`); return console.log(`[${format(Date.now())}]: ${logLevels.ERROR} ${content}`);
}, },
debug(...content) { debug(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.DEBUG} ${content.join(" ")}`); return console.log(`[${format(Date.now())}]: ${logLevels.DEBUG} ${content}`);
}, },
cmd(...content) { cmd(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.CMD} ${content.join(" ")}`); return console.log(`[${format(Date.now())}]: ${logLevels.CMD} ${content}`);
}, },
ready(...content) { ready(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.READY} ${content.join(" ")}`); return console.log(`[${format(Date.now())}]: ${logLevels.READY} ${content}`);
}, },
}; };