Logging
Overview
Writing log entries
public class MyService
{
private readonly ILogger<MyService> _logger;
public MyService(ILogger<MyService> logger)
{
_logger = logger;
}
public void DoWork()
{
_logger.LogInformation("Processing started");
}
}Request logging
Activity log
Notifications
Last updated
Was this helpful?