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 {
log(...content) {
return console.log(`[${format(Date.now())}]: ${logLevels.LOG} ${content.join(" ")}`);
log(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.LOG} ${content}`);
},
warn(...content) {
return console.log(`[${format(Date.now())}]: ${logLevels.WARN} ${content.join(" ")}`);
warn(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.WARN} ${content}`);
},
error(...content) {
return console.log(`[${format(Date.now())}]: ${logLevels.ERROR} ${content.join(" ")}`);
error(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.ERROR} ${content}`);
},
debug(...content) {
return console.log(`[${format(Date.now())}]: ${logLevels.DEBUG} ${content.join(" ")}`);
debug(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.DEBUG} ${content}`);
},
cmd(...content) {
return console.log(`[${format(Date.now())}]: ${logLevels.CMD} ${content.join(" ")}`);
cmd(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.CMD} ${content}`);
},
ready(...content) {
return console.log(`[${format(Date.now())}]: ${logLevels.READY} ${content.join(" ")}`);
ready(content) {
return console.log(`[${format(Date.now())}]: ${logLevels.READY} ${content}`);
},
};