NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction
1.0.0
dotnet add package NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction --version 1.0.0
NuGet\Install-Package NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction -Version 1.0.0
<PackageReference Include="NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction" Version="1.0.0" />
<PackageVersion Include="NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction" Version="1.0.0" />
<PackageReference Include="NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction" />
paket add NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction --version 1.0.0
#r "nuget: NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction, 1.0.0"
#:package NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction@1.0.0
#addin nuget:?package=NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction&version=1.0.0
#tool nuget:?package=NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction&version=1.0.0
Core.CrossCuttingConcerns.Logging.Abstraction
Logger arayüzü. Tüm loglama implementasyonlarının uyması gereken contract.
Interface
public interface ILogger
{
void Trace(string message);
void Debug(string message);
void Information(string message);
void Warning(string message);
void Error(string message);
void Critical(string message);
}
Kullanım
// DI inject
public class MyService
{
private readonly ILogger _logger;
public MyService(ILogger logger) => _logger = logger;
public void DoWork()
{
_logger.Information($"[{nameof(MyService)}.{nameof(DoWork)}] executed by system");
}
}
Implementasyonlar: Core.CrossCuttingConcerns.Logging.SeriLog
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Abstraction:
| Package | Downloads |
|---|---|
|
NetCoreBackend.NArchitecture.Core.Application
Provide CQRS, MediatR, Pipelines, DTOs, and more for the Application Layer. |
|
|
NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.Serilog
Provide logging integration with Serilog. |
|
|
NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Exception.WebApi
Provide exception handling components specifically tailored for ASP.NET Web API projects. |
|
|
NetCoreBackend.NArchitecture.Core.CrossCuttingConcerns.Logging.DependencyInjection
Provide dependency injection extensions for NArchitecture.Core.CrossCuttingConcerns.Logging. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 85 | 6/2/2026 |