Abdul-RehmanMalik.Util.AppLogger 1.0.0

dotnet add package Abdul-RehmanMalik.Util.AppLogger --version 1.0.0
                    
NuGet\Install-Package Abdul-RehmanMalik.Util.AppLogger -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Abdul-RehmanMalik.Util.AppLogger" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Abdul-RehmanMalik.Util.AppLogger" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Abdul-RehmanMalik.Util.AppLogger" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Abdul-RehmanMalik.Util.AppLogger --version 1.0.0
                    
#r "nuget: Abdul-RehmanMalik.Util.AppLogger, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Abdul-RehmanMalik.Util.AppLogger&version=1.0.0
                    
Install Abdul-RehmanMalik.Util.AppLogger as a Cake Addin
#tool nuget:?package=Abdul-RehmanMalik.Util.AppLogger&version=1.0.0
                    
Install Abdul-RehmanMalik.Util.AppLogger as a Cake Tool

AppLogger

Overview

AppLogger is a simple and lightweight logging library designed for .NET applications. This library provides basic functionality for logging messages to the console. It is packaged as a NuGet package for easy integration into your projects.


Features

  • Log text messages to the console.
  • Lightweight and easy to use.
  • Suitable for small to medium-sized projects.

Installation

To install AppLogger, use the NuGet Package Manager in Visual Studio or the .NET CLI.

Using NuGet Package Manager:

  1. Open your project in Visual Studio.
  2. Navigate to ToolsNuGet Package ManagerManage NuGet Packages for Solution.
  3. Search for AppLogger in the Browse tab.
  4. Click Install to add the package to your project.

Using .NET CLI:

Run the following command in your terminal:

dotnet add package AppLogger

Usage

1. Import the Namespace

Add the following namespace to your file:

using AppLogger;

2. Create an Instance of Logger

Create an instance of the Logger class in your application:

Logger logger = new Logger();

3. Log a Message

Use the Log method to log messages to the console:

logger.Log("This is a log message.");

Example:

using AppLogger;

class Program
{
    static void Main(string[] args)
    {
        Logger logger = new Logger();
        logger.Log("Hello, AppLogger!");
    }
}

Contributing

We welcome contributions to improve AppLogger. If you have ideas or bug fixes, feel free to open an issue or submit a pull request on the GitHub repository.


License

This project is licensed under the MIT License. See the LICENSE file for details.


Support

For questions or support, please contact us at abdulrehmanmalikofficial2@gmail.com.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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 110 12/16/2024