![]() |
VOOZH | about |
dotnet add package Sctt.Common --version 2.2.16
NuGet\Install-Package Sctt.Common -Version 2.2.16
<PackageReference Include="Sctt.Common" Version="2.2.16" />
<PackageVersion Include="Sctt.Common" Version="2.2.16" />Directory.Packages.props
<PackageReference Include="Sctt.Common" />Project file
paket add Sctt.Common --version 2.2.16
#r "nuget: Sctt.Common, 2.2.16"
#:package Sctt.Common@2.2.16
#addin nuget:?package=Sctt.Common&version=2.2.16Install as a Cake Addin
#tool nuget:?package=Sctt.Common&version=2.2.16Install as a Cake Tool
builder.Services.AddAlibabaCloud(builder.Configuration);
"AlibabaCloudSetting": {
"AccessKeyId": "xxxx",
"AccessKeySecret": "xxxx",
"Endpoint": "xxxxx"
},
"SysErrorMail": {
"Enabled": true, // 启用异常邮件 -- 需增加邮件配置
"ReciveMail": "system@sctt.net" //接收邮箱地址
},
"MailSetting": {
"MailBccArray": "ptc.res1@ptctravel.net.cn",
"MailDccArray": "ptc.res1@ptctravel.net.cn",
"MailEccArray": "ptc.res1@ptctravel.net.cn",
"SendMailSmsUrl": "xxx/mail/SmtpSend",
"SendMailsSmsUrl": "xxx/mail/SmtpSends",
"Token": "xxxxxxx"
},
Sctt.Common.Logging 日志Attribute方法上加 [SuppressMonitor] 特性
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
},
"Console": {
"FormatterName": "simple",
"FormatterOptions": {
"IncludeScopes": false,
"TimestampFormat": "yyyy-MM-dd HH:mm:ss.fff ",
"UseUtcTimestamp": true
}
},
"File": {
"Enabled": false // 启用文件日志,上传到OSS
},
"Database": {
"Enabled": false, // 启用数据库日志
"MinimumLevel": "Information"
},
"Monitor": {
"GlobalEnabled": true, // 启用全局拦截日志
"IncludeOfMethods": [], // 拦截特定方法,当GlobalEnabled=false有效
"ExcludeOfMethods": [], // 排除特定方法,当GlobalEnabled=true有效
"BahLogLevel": "Information", // Oops.Oh 和 Oops.Bah 业务日志输出级别
"WithReturnValue": true, // 是否包含返回值,默认true
"ReturnValueThreshold": 500, // 返回值字符串阈值,默认0全量输出
"JsonBehavior": "None", // 是否输出Json,默认None(OnlyJson、All)
"JsonIndented": false, // 是否格式化Json
"UseUtcTimestamp": false, // 时间格式UTC、LOCAL
"ConsoleLog": true // 是否显示控制台日志
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.19-dev | 39 | 6/16/2026 |
| 2.2.18-dev | 50 | 6/12/2026 |
| 2.2.17-dev | 55 | 6/8/2026 |
| 2.2.16 | 57 | 6/3/2026 |
| 2.2.15 | 53 | 6/3/2026 |
| 2.2.14 | 66 | 5/19/2026 |
| 2.2.13 | 60 | 5/19/2026 |
| 2.2.12 | 61 | 5/14/2026 |
| 2.2.11 | 66 | 5/13/2026 |
| 2.2.10 | 63 | 5/6/2026 |
| 2.2.9 | 74 | 4/29/2026 |
| 2.2.8 | 78 | 4/28/2026 |
| 2.2.7 | 77 | 4/28/2026 |
| 2.2.6 | 69 | 4/21/2026 |
| 2.2.5 | 64 | 4/21/2026 |
| 2.2.4 | 83 | 4/17/2026 |
| 2.2.3 | 76 | 4/16/2026 |
| 2.2.2 | 151 | 4/2/2026 |
| 2.2.1 | 81 | 3/31/2026 |
| 2.2.0 | 81 | 3/19/2026 |