level: 'info' }); // Log a message logger.info('Hello, Winston!'); 要檢視此示例的實際效果,可將以上程式碼儲存到 example-1.js ,然後執行 npm ...
確定! 回上一頁