"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const i18n = require("./i18n.js");
function createLog(type, name) {
  return function(key, args) {
    const msg = `[vxe ${name || ""}] ${i18n.getI18n(key, args)}`;
    console[type](msg);
    return msg;
  };
}
const version = "4.4.3";
const log = {
  create: createLog,
  warn: createLog("warn", `v${version}`),
  err: createLog("error", `v${version}`)
};
exports.log = log;
