You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
533 B
533 B
LINGYUN.Abp.Logging
日志基础模块
定义 ILoggingManager 接口, 实现日志信息查询
模块引用
[DependsOn(typeof(AbpLoggingModule))]
public class YouProjectModule : AbpModule
{
// other
}
配置项
- AbpLoggingOptions.ApplicationPropertyName 用于自定义ApplicationName字段的名称
- AbpLoggingOptions.ApplicationName 在日志中标识当前应用的名称
appsettings.json
{
"Logging": {
"ApplicationName": "app"
}
}