UNPKG

@visulima/pail

Version:

Highly configurable Logger for Node.js, Edge and Browser.

15 lines (12 loc) 620 B
import { P as PailBrowser } from './packem_shared/pail.browser-Bp1fz428.mjs'; import MessageFormatterProcessor from './packem_shared/MessageFormatterProcessor-Cd4HntPG.mjs'; import JsonReporter from './packem_shared/JsonReporter-CKWF4Ibl.mjs'; var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); const createPail = /* @__PURE__ */ __name((options) => new PailBrowser({ processors: [new MessageFormatterProcessor()], reporters: [new JsonReporter()], ...options }), "createPail"); const pail = createPail(); export { createPail, pail };