single-source-of-truth
Version:
<div align='center'> <h1><strong>single-source-of-truth</strong></h1> <i>Use ArkType schemas to generate your Prisma schema</i><br> <code>pnpm add truth@npm:single-source-of-truth arktype</code> </div>
24 lines (22 loc) • 512 B
JavaScript
import chalk from "chalk";
//#region src/logger.ts
function line(content) {
return content.replaceAll(/(?:\n\s*)+/g, " ");
}
function error(message) {
console.error(chalk.red(`[truth] ${line(message)}`));
}
function warn(message) {
console.warn(chalk.yellow(`[truth] ${line(message)}`));
}
function info(message) {
console.info(chalk.blue(`[truth] ${line(message)}`));
}
var logger_default = {
error,
warn,
info
};
//#endregion
export { logger_default as t };
//# sourceMappingURL=logger-BkjnZ0T9.js.map