Generic Commit; Most likely a fix or small feature
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import chalk from "chalk";
|
||||
|
||||
export function logError(...args: unknown[]) {
|
||||
console.log(chalk.red(args));
|
||||
console.error(chalk.red("ERROR:"), ...args);
|
||||
}
|
||||
|
||||
export function logWarning(...args: unknown[]) {
|
||||
console.log(chalk.yellow(args));
|
||||
console.warn(chalk.yellow("WARNING:"), ...args);
|
||||
}
|
||||
|
||||
export function logSuccess(...args: unknown[]) {
|
||||
console.log(chalk.green(args));
|
||||
console.info(chalk.green("SUCCESS:"), ...args);
|
||||
}
|
||||
|
||||
export function logInfo(...args: unknown[]) {
|
||||
console.log(chalk.cyan(args));
|
||||
console.info(chalk.cyan("INFO:"), ...args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user