appsettings.Development.json 707 B

1234567891011121314151617181920212223242526
  1. {
  2. "$schema": "https://gitee.com/dotnetchina/Furion/raw/net6/schemas/v3/furion-schema.json",
  3. "Logging": {
  4. "LogLevel": {
  5. "Default": "Information",
  6. "Microsoft": "Warning",
  7. "Microsoft.Hosting.Lifetime": "Information"
  8. },
  9. "File": {
  10. "FileName": "logs/info.log",
  11. "Append": true,
  12. "MinimumLevel": "Information",
  13. "FileSizeLimitBytes": 5120,
  14. "MaxRollingFiles": 100
  15. },
  16. "Database": {
  17. "MinimumLevel": "Information"
  18. },
  19. "Monitor": {
  20. "GlobalEnabled": true, // 启用全局拦截日志
  21. "IncludeOfMethods": [], // 拦截特定方法,当GlobalEnabled=false有效
  22. "ExcludeOfMethods": [] // 排除特定方法,当GlobalEnabled=true有效
  23. }
  24. }
  25. }