Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
无法测试通过 NSubstitute 接收的 ILogger
我有一个 Net Core 3 应用程序 并尝试在我的方法中测试对 ILogger 的调用 public class MyClass private readonly ILogger
unittesting
NetCore
mstest
nsubstitute
ilogger
Azure Durable编排功能ILogger输出两次日志
有几个相互调用的持久函数 主编排 gt 子编排 gt Activity gt Helper 异步方法 每个函数都有 ILogger 依赖性 并在函数开始和函数结束时登录 由于某种原因 两个协调器都会重复 启动时 消息 见图 活动没有这种效果
Azure
azuredurablefunctions
ilogger
Azure Functions - 注入的 ILogger
日志未显示
我在用着FunctionsStartup在 Azure Functions 项目中设置 IoC 绑定 但是 从注入创建的任何日志ILogger
Azure
dependencyinjection
azurefunctions
ilogger
如何在ASP.NET Core 6中配置和使用Serilog?
由于最近引入了 Program cs 启动代码的新结构 该文档让我有点困惑 在官方提供的Serilog AspNetCore example https github com serilog serilog aspnetcore并在Seri
c
Serilog
net60
Sentry
ilogger
未出现写入 ILogger 的 Serilog (Azure Functions V2)
我已安装 Serilog 并配置为将日志事件数据写入 MS SQL Server for Azure Function 中的表 系统日志和静态类本身写入的日志显示在表中 但是当我尝试使用 Extensions Logging ILogger
azurefunctions
azurewebjobs
Serilog
ilogger
如何实现 ILogger 将消息发送到 SignalR Hub?
我想构建一个显示最新日志消息的 LogView 所以我构建了一个非常简单的设置 但在依赖注入方面失败了 这是我的实施尝试 我跳过了非关键部分 public class SignalRLogger ILogger private readon
c
ASPNETCore
signalr
ilogger
带注入的定制 Serilog 水槽?
我创建了一个简单的 Serilog 接收器项目 如下所示 namespace MyApp Cloud Serilog MQSink public class MessageQueueSink ILogEventSink private re
c
codeinjection
Serilog
ilogger
在附加到 Refit 客户端的 Polly 策略中使用 ILogger
我一直在尝试遵循以下指示这篇博文 https www stevejgordon co uk passing an ilogger to polly policies将 ILogger 传递到我的重试策略 以便记录有关重试错误的信息 博客中的
c
polly
retrylogic
refit
ilogger
如何在Asp.net Core中通过ILogger
将日志写入EventLog?
我关注这个文档登录 NET Core 和 ASP NET Core 尝试将日志写入Windows EventLog 首先 我在 Windows 事件日志中创建源并登录 if EventLog SourceExists MyTestSourc
c
ASPNETCore
NetCore
ilogger