3xworkaround
Version:
This is an interface for 3x-ui panel. It will help developers to create, edit and delete inbounds and clients in a simple way.
10 lines (9 loc) • 388 B
JavaScript
import chalk from "chalk";
import winston from "winston";
import { colorizeFormat } from "./colorizeFormat.js";
export const consoleTransport = new winston.transports.Console({
format: winston.format.combine(colorizeFormat, winston.format.printf(({ level, label, message }) => {
label = chalk.bold.white(label);
return `[${label}][${level}]: ${message}`;
})),
});