vuepress-plugin-llms
Version:
📜 VuePress plugin for generating documentation friendly to Large Language Models (LLMs) | 📜 VuePress 插件,用于生成对大语言模型(LLMs)友好的文档。
25 lines (24 loc) • 1.05 kB
TypeScript
/** Logger utility to provide consistent and styled logging throughout the plugin. | 日志工具,为插件提供一致且带样式的日志输出。 */
declare const log: {
/**
* Logs an info message to the console. | 在控制台输出信息级别的日志。
* @param message - The message to log. | 要记录的消息。
*/
info: (message: string) => void;
/**
* Logs a success message to the console. | 在控制台输出成功级别的日志。
* @param message - The message to log. | 要记录的消息。
*/
success: (message: string) => void;
/**
* Logs a warning message to the console. | 在控制台输出警告级别的日志。
* @param message - The message to log. | 要记录的消息。
*/
warn: (message: string) => void;
/**
* Logs an error message to the console. | 在控制台输出错误级别的日志。
* @param message - The message to log. | 要记录的消息。
*/
error: (message: string) => void;
};
export default log;