init static method

dynamic init()

初始化日志,处理本地存储日志

Implementation

static init() async {
  var outPath = await _outPath;
  _createFileSink();
  GetServer(
    port: 8002,
    home: FolderWidget(
      outPath,
      allowDirectoryListing: true,
    ),
  );
}