This commit is contained in:
2025-11-17 18:45:35 +01:00
parent 0f58e3bdff
commit 14d6f9aa73
7607 changed files with 1969407 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import chalk from "chalk";
const colors = [
"black",
"red",
"green",
"yellow",
"blue",
"magenta",
"cyan",
"white",
"gray",
"redBright",
"greenBright",
"yellowBright",
"blueBright",
"magentaBright",
"cyanBright",
"whiteBright",
];
colors.forEach((color) => {
console[color] = (text) => {
console.log(chalk[color](text));
};
});
export const logBug = (text) => {
console.red(`${text}\n This maybe is a bug, you can issue a bug for us.`);
};