@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
20 lines (18 loc) • 726 B
JavaScript
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
import { t as CONFIG_PATH } from "./paths-B4BZAPZh.js";
import { o as displayPath } from "./utils-CP9YLh6M.js";
//#region src/config/logging.ts
var logging_exports = /* @__PURE__ */ __exportAll({
formatConfigPath: () => formatConfigPath,
logConfigUpdated: () => logConfigUpdated
});
function formatConfigPath(path = CONFIG_PATH) {
return displayPath(path);
}
function logConfigUpdated(runtime, opts = {}) {
const path = formatConfigPath(opts.path ?? CONFIG_PATH);
const suffix = opts.suffix ? ` ${opts.suffix}` : "";
runtime.log(`Updated ${path}${suffix}`);
}
//#endregion
export { logConfigUpdated as n, logging_exports as r, formatConfigPath as t };