要對日誌進行切割,需要使用pm2-logrotate。 ... 呼叫logger.debug、logger.info、logger.warn、logger.error 等方法將日誌輸出到控制檯和日誌檔案。
確定! 回上一頁