UNPKG

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) 293 B
import winston from "winston"; import { consoleTransport } from "./consoleTransport.js"; export const createLogger = (name) => { return winston.createLogger({ level: "silly", format: winston.format.label({ label: name }), transports: [consoleTransport], }); };