'use strict';

var chunkAF3E2D32_cjs = require('./chunk-AF3E2D32.cjs');
var logger = require('@storm-software/config-tools/logger');
var noop = require('@stryke/helpers/noop');
var chalkTemplate = require('chalk-template');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var chalkTemplate__default = /*#__PURE__*/_interopDefault(chalkTemplate);

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

exports.createLog = createLog;
//# sourceMappingURL=chunk-3MH6X7IX.cjs.map
//# sourceMappingURL=chunk-3MH6X7IX.cjs.map