public ObjectFileParser(
     ClientMetrics metrics,
     ILogger <ObjectFileParser> logger,
     FatBinaryReader?fatBinaryReader = null)
 {
     if (fatBinaryReader is null &&
         logger is {} &&
Beispiel #2
0
        public Client(
            ISymbolClient symbolClient,
            ObjectFileParser objectFileParser,
            SymbolClientOptions options,
            ClientMetrics metrics,
            ILogger <Client> logger)
        {
            Metrics           = metrics;
            _symbolClient     = symbolClient;
            _objectFileParser = objectFileParser;
            _logger           = logger;

            ParallelTasks     = options.ParallelTasks;
            _blockListedPaths = options.BlockListedPaths;
        }
Beispiel #3
0
 public ObjectFileParser(
     ClientMetrics metrics,
     IOptions <ObjectFileParserOptions> options,
     ILogger <ObjectFileParser> logger,
     FatBinaryReader?fatBinaryReader = null)
 {
     if (fatBinaryReader is null &&
         RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
     {
         logger.LogWarning("No FatBinaryReader was provided while running on macOS.");
     }
     _options         = options.Value;
     _fatBinaryReader = fatBinaryReader;
     _logger          = logger;
     Metrics          = metrics;
 }