message(
		message,
		type = "log",
		chalkColor = undefined,
		forceToConsole = false,
		prefix = "[11ty]",
	) {
		if (!forceToConsole && (!this.isVerbose || process.env.DEBUG)) {
			debug(message);
		} else if (this.#logger !== false) {
			message = `${chalk.gray(prefix)} ${message.split("\n").join(`\n${chalk.gray(prefix)} `)}`;

			if (chalkColor && this.isChalkEnabled) {
				this.logger[type](chalk[chalkColor](message));
			} else {
				this.logger[type](message);
			}
		}
	}
Formats the message to log.

@param {string} message - The raw message to log.
@param {LogType} [type='log'] - The error level to log.
@param {string|undefined} [chalkColor=undefined] - Color name or falsy to disable
@param {boolean} [forceToConsole=false] - Enforce a log on console instead of specified target.