SAWL 1.0.0.18
dotnet add package SAWL --version 1.0.0.18
NuGet\Install-Package SAWL -Version 1.0.0.18
<PackageReference Include="SAWL" Version="1.0.0.18" />
paket add SAWL --version 1.0.0.18
#r "nuget: SAWL, 1.0.0.18"
// Install SAWL as a Cake Addin #addin nuget:?package=SAWL&version=1.0.0.18 // Install SAWL as a Cake Tool #tool nuget:?package=SAWL&version=1.0.0.18
Sawl Serilog.AzureBlobStorage Wrapper (NuGet Package) Overview The Sawl (Serilog Azure Blob Storage Wrapper) NuGet package provides a convenient and streamlined implementation for integrating Serilog with Azure Blob Storage. This package acts as a wrapper around the Serilog.AzureBlobStorage sink, making the configuration and usage even more seamless and easy.
Features Simplified Configuration: The Sawl package simplifies the configuration process for Serilog.AzureBlobStorage, reducing the amount of boilerplate code required to set up logging to Azure Blob Storage.
Default Settings for Convenience: Sawl comes with sensible default settings, allowing you to get started quickly with minimal configuration. Of course, you can still customize the configuration based on your specific needs.
Enhanced Error Handling: Sawl includes enhanced error handling mechanisms, providing clearer error messages and diagnostics in case of configuration issues or problems with the Azure Blob Storage connection.
Getting Started Installation Install the Sawl NuGet package along with the underlying Serilog.AzureBlobStorage package:
bash Copy code Install-Package Sawl Or using the .NET CLI:
bash Copy code dotnet add package Sawl Configuration Configure the Azure Blob Storage sink using the Sawl wrapper in your Serilog configuration:
csharp Copy code Log.Logger = new LoggerConfiguration() .WriteTo.SawlAzureBlobStorage("<your-connection-string>", "<your-container-name>") .CreateLogger(); Replace <your-connection-string> with your Azure Storage account connection string and <your-container-name> with the desired container name.
Example Here's an example of logging a message using Serilog with Sawl Azure Blob Storage wrapper:
csharp Copy code Log.Information("Hello, Azure Blob Storage with Sawl!"); Feedback and Contributions We welcome feedback, bug reports, and contributions. If you encounter any issues or have suggestions for improvement, please open an issue.
If you'd like to contribute to the project, please follow our contribution guidelines.
License This package is licensed under the MIT License - see the LICENSE file for details.
Thank you for choosing the Sawl Serilog.AzureBlobStorage Wrapper. We hope it simplifies your logging experience with Serilog and Azure Blob Storage. If you have any questions or need further assistance, feel free to reach out to our support.
"logsettings": { "SerilogConnection": "DefaultEndpointsProtocol=https;AccountName=XXXXXXXX;AccountKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+AStZTnM5Q==;EndpointSuffix=core.windows.net", "FileName": "Tester", "StorageContainer": "logs", "FolderPath": "C://Logs//TesttingApp", "monthly": "true", "daily": "true", "filesize": 30 }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Serilog.AspNetCore (>= 7.0.0)
- Serilog.Sinks.AzureBlobStorage (>= 3.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0.18 | 155 | 4/5/2024 |
1.0.0.17 | 105 | 4/4/2024 |
1.0.0.16 | 96 | 4/3/2024 |
1.0.0.15 | 141 | 3/12/2024 |
1.0.0.14 | 115 | 3/12/2024 |
1.0.0.13 | 100 | 3/12/2024 |
1.0.0.12 | 113 | 3/12/2024 |
1.0.0.10 | 112 | 3/12/2024 |
1.0.0.9 | 107 | 3/12/2024 |
1.0.0.8 | 135 | 2/6/2024 |
1.0.0.7 | 308 | 11/25/2023 |
1.0.0.6 | 230 | 9/14/2023 |
1.0.0.5 | 182 | 9/13/2023 |
1.0.0.4 | 130 | 9/12/2023 |
1.0.0.3 | 122 | 9/12/2023 |
1.0.0.2 | 135 | 9/12/2023 |
1.0.0.1 | 119 | 9/12/2023 |
1.0.0 | 120 | 9/12/2023 |