MCPcopy
hub / github.com/sveltejs/kit / log

Function log

packages/kit/src/core/utils.js:32–32  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

30export function logger({ verbose }) {
31 /** @type {import('types').Logger} */
32 const log = (msg) => console.log(msg.replace(/^/gm, ' '));
33
34 /** @param {string} msg */
35 const err = (msg) => console.error(msg.replace(/^/gm, ' '));

Callers 1

loggerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected