index.ts 241 B

123456789
  1. import log from "@/next/log";
  2. export function addLogLine(
  3. msg: string | number | boolean,
  4. ...optionalParams: (string | number | boolean)[]
  5. ) {
  6. const completeLog = [msg, ...optionalParams].join(" ");
  7. log.info(completeLog);
  8. }