import { createLogger, format, transports } from "winston";

//#region src/logger/index.ts
const logger = createLogger({
	format: format.combine(format.colorize(), format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }), format.json()),
	defaultMeta: { service: "user-service" },
	transports: [new transports.Console({ format: format.simple() })]
});

//#endregion
export { logger };
//# sourceMappingURL=index.mjs.map