内存使用记录器此模块在CSV文件中记录内存使用情况并构建图表。结果的例子是:如何使用它? var logger = require ( 'memory-usage-logger' ) ; // will log into folder "/absolute/path/to/logs/directory" every 1000 ms: logger . run ( 1000 , "/absolute/path/to/logs/directory" ) ; // to stop: logger . stop ( ) ;应用程序接口跑步logger . run ( delay , logDir ) delay - setInterval的延迟logDir -记录数据的目录。停止logger . stop ( )将停止由logger.run()获得的记