Oakrey.Log.Toast
2.1.0
dotnet add package Oakrey.Log.Toast --version 2.1.0
NuGet\Install-Package Oakrey.Log.Toast -Version 2.1.0
<PackageReference Include="Oakrey.Log.Toast" Version="2.1.0" />
<PackageVersion Include="Oakrey.Log.Toast" Version="2.1.0" />
<PackageReference Include="Oakrey.Log.Toast" />
paket add Oakrey.Log.Toast --version 2.1.0
#r "nuget: Oakrey.Log.Toast, 2.1.0"
#:package Oakrey.Log.Toast@2.1.0
#addin nuget:?package=Oakrey.Log.Toast&version=2.1.0
#tool nuget:?package=Oakrey.Log.Toast&version=2.1.0
Oakrey.Log.Toast
1. Overview
The "Log.Toast" project extends the logging framework by integrating Windows Toast Notifications. It allows log messages to be displayed as toast notifications, providing a visual and interactive way to communicate log events to users.
Features of the "Log.Toast" Project
- Toast Notification Integration:
- Displays log messages as Windows Toast Notifications.
- Supports various notification types (e.g., Error, Info, Warning, Update).
- Custom Icons:
- Uses custom icons for different notification types (e.g., error, info, warning).
- Logger Extensions:
- LoggerToastExtensions: Adds extension methods to ILogger for sending toast notifications alongside logging.
- Event Handling:
- ToastEventArgs: Encapsulates arguments and metadata for toast events.
- Windows-Specific:
- Requires Windows 10 (version 17763 or later) for toast notifications.
- Leverages the Microsoft.Toolkit.Uwp.Notifications library.
2. Installation
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
NuGet Package Manager
- Open your project in Visual Studio.
- Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
- Search for
Oakrey.Log.Toastand click Install.
.NET CLI
Run the following command in your terminal:
dotnet add package Oakrey.Log.Toast
Package Manager Console
Run the following command in your Package Manager Console:
Install-Package Oakrey.Log.Toast
3. Requirements
- .NET 8 or higher
4. Project Information
- Author: Oakrey
- Company: Oakrey (Website Link)
- License: MIT
- Repository: Git Repository
- Project URL: Project Website
5. Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
6. License
This project is licensed under the MIT License. See the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows10.0.17763 is compatible. |
-
net10.0-windows10.0.17763
- Microsoft.Toolkit.Uwp.Notifications (>= 7.1.3)
- Oakrey.Log (>= 2.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Oakrey.Log.Toast:
| Package | Downloads |
|---|---|
|
Oakrey.Applications.ControlObjects
A .NET WPF library for building interactive, validated control objects. Provides a base class hierarchy for reactive sending objects, enable/disable and timer-driven variants, cancelable async operations, device abstraction, multi-key gesture support, and observable collections with automatic JSON persistence. |
GitHub repositories
This package is not used by any popular GitHub repositories.