{ "$schema": "https://gitee.com/dotnetchina/Furion/raw/net6/schemas/v3/furion-schema.json", "Urls": "https://*:5005", "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" }, "File": { "FileName": "logs/info.log", "Append": true, "MinimumLevel": "Information", "FileSizeLimitBytes": 5120, "MaxRollingFiles": 100 }, "Database": { "MinimumLevel": "Information" }, "Monitor": { "GlobalEnabled": true, // 启用全局拦截日志 "IncludeOfMethods": [], // 拦截特定方法,当GlobalEnabled=false有效 "ExcludeOfMethods": [] // 排除特定方法,当GlobalEnabled=true有效 } }, "AllowedHosts": "*" //"Serilog": { // "MinimumLevel": { // "Default": "Information", // "Override": { // "System": "Warning", // "Microsoft": "Warning", // "Microsoft.Hosting.Lifetime": "Information", // "Microsoft.EntityFrameworkCore": "Information" // } // }, // "WriteTo": [ // { // "Name": "Console", // "Args": { // "outputTemplate": "【时间】{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}【等级】{Level:u3}{NewLine}【消息】{Message:lj}{NewLine}{NewLine}" // } // }, // { // "Name": "File", // "Args": { // "path": "logs/.log", // "rollingInterval": "Day", // "outputTemplate": "【时间】{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}【等级】{Level:u3}{NewLine}【消息】{Message:lj}{NewLine}{NewLine}" // } // } // ] //}, }