mirror of
https://github.com/develop202/migu_video.git
synced 2025-12-18 15:55:10 +08:00
添加本地部署
This commit is contained in:
28
utils/colorOut.js
Normal file
28
utils/colorOut.js
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
function printRed(msg) {
|
||||
console.log('\x1B[31m%s\x1B[0m', msg)
|
||||
}
|
||||
|
||||
function printGreen(msg) {
|
||||
console.log('\x1B[32m%s\x1B[0m', msg)
|
||||
}
|
||||
|
||||
function printYellow(msg) {
|
||||
console.log('\x1B[33m%s\x1B[0m', msg)
|
||||
}
|
||||
|
||||
function printBlue(msg) {
|
||||
console.log('\x1B[34m%s\x1B[0m', msg)
|
||||
}
|
||||
|
||||
function printMagenta(msg) {
|
||||
console.log('\x1B[35m%s\x1B[0m', msg)
|
||||
}
|
||||
|
||||
function printGrey(msg) {
|
||||
console.log('\x1B[2m%s\x1B[0m', msg)
|
||||
}
|
||||
|
||||
export {
|
||||
printGreen, printBlue, printRed, printYellow, printMagenta, printGrey
|
||||
}
|
||||
Reference in New Issue
Block a user