sjdirect / abot

Cross Platform C# web crawler framework built for speed and flexibility. Please star this project! +1.
Apache License 2.0
2.23k stars 555 forks source link

Add SourceContext to log routines #241

Open nefarius opened 6 months ago

nefarius commented 6 months ago

Hi there!

Your fantastic library is spamming my application logs 😆 Would you accept a PR that adds .ForContext where applicable so that the log levels for your namespace can be overridden like:

  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Abot2.Crawler": "Warning"
      }
    }
  }

Cheers