2024-04-08 20:47:47 +05:30

10 lines
241 B
TypeScript

import log from "@/next/log";
export function addLogLine(
msg: string | number | boolean,
...optionalParams: (string | number | boolean)[]
) {
const completeLog = [msg, ...optionalParams].join(" ");
log.info(completeLog);
}