package
Version:
v0.0.0-...-3e87f45
Opens a new window with list of versions in this module.
Published: Jun 17, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
* @Author: NyanCatda
* @Date: 2022-03-22 01:27:22
* @LastEditTime: 2022-03-22 18:00:46
* @LastEditors: NyanCatda
* @Description: 控制台函数注册
* @FilePath: \Momizi\Internal\Plugin\JavaScript\Tools\Console\Console.go
* @Author: NyanCatda
* @Date: 2022-03-22 01:28:05
* @LastEditTime: 2022-03-22 17:59:24
* @LastEditors: NyanCatda
* @Description: 日志输出函数注册
* @FilePath: \Momizi\Internal\Plugin\JavaScript\Tools\Console\Log.go
*
- @description: 注册控制台函数
- @param {*goja.Runtime} VM
- @return {*}
*
- @description: 打印Debug Log
- @param {string} Text 日志内容F
- @return {*}
*
- @description: 打印错误Log
- @param {string} Text 日志内容
- @return {*}
*
- @description: 打印Log
- @param {string} Text 日志内容
- @return {*}
*
- @description: 设置输出文字颜色
- @param {string} Color 颜色 Black/Red/Green/Yellow/Blue/Magenta/Cyan/White
- @param {string} Text 文字
- @return {*}
*
- @description: 打印警告Log
- @param {string} Text 日志内容
- @return {*}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.