fml-consolelog is a formatted multi-line and ANSI colors supportted text output function module.
MIT License
fml-consolelog 是一個支援ANSI顏色及格式化的多行文字輸出函式模組。
fml-consolelog is a formatted multi-line and ANSI colors supportted text output function module.
在大多數伺服器模式的應用程式下,無論除錯或取得簡單的立即性資訊都會使用Console.log這個函式。 雖然已經有人寫了不少log之類的函式庫,但仍不符合自己使用,於是自己打造一個簡易的多行文字輸出函式。
In most server mode applications, the Console.log function is wildly used regardless of debugging or simple immediate information. Although someone has written a lot of libraries about log functions, they are still not suitable for me, so I just create a simple multi-line text output function module instead.
npm install @waynechang65/fml-consolelog
const fmlog = require('@waynechang65/fml-consolelog').log;
fmlog('basic_chat',
['GN:Test Area', '0', 'This is a Test 測試', 'Talking' , 'Wayne Chang', '1234567890']);
git clone https://github.com/WayneChang65/fml-consolelog.git
cd fml-consolelog
npm install
npm run start
funType: 函式格式型態, type of function data: 欲顯示的資料(字串陣列), text output data(String array data type)
fml-consolelog 雖然是一個小模組,但本人還是希望這個專案能夠持續進步!若有發現臭蟲(bug)或問題,請幫忙在Issue留言告知詳細情形。 歡迎共同開發。歡迎Pull Request,謝謝。:) ★歡迎送PR增加函式輸出格式。
Even though fml-consolelog is a small project, I hope it can be improving. If there is any issue, please comment and welcome to fork and send Pull Request. Thanks. :) ★Welcome to send PR and add text output patterns.