import { __name } from './chunk-6AXVLTU5.js';
import { getLogFn, getLogLevel } from '@storm-software/config-tools/logger';
import { noop } from '@stryke/helpers/noop';
import chalkTemplate from 'chalk-template';

var createLog = /* @__PURE__ */ __name((name = "", options = {}) => {
  if (options.silent) {
    return noop;
  }
  return (type, ...args) => getLogFn(getLogLevel(type))(chalkTemplate`{bold.#6FCE4E storm-stack${name ? `:${name}` : ""} > }${args.join(" ")} `);
}, "createLog");

export { createLog };
//# sourceMappingURL=chunk-5S5JGJML.js.map
//# sourceMappingURL=chunk-5S5JGJML.js.map