XmobiTea.Logging 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package XmobiTea.Logging --version 1.0.0                
NuGet\Install-Package XmobiTea.Logging -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="XmobiTea.Logging" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XmobiTea.Logging --version 1.0.0                
#r "nuget: XmobiTea.Logging, 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.
// Install XmobiTea.Logging as a Cake Addin
#addin nuget:?package=XmobiTea.Logging&version=1.0.0

// Install XmobiTea.Logging as a Cake Tool
#tool nuget:?package=XmobiTea.Logging&version=1.0.0                

XmobiTea.Logging

Installation

To install XmobiTea.Logging, you can use the NuGet Package Manager: Install-Package XmobiTea.Logging

Or use the .NET CLI: dotnet add package XmobiTea.Logging

Features

  • Flexible Logging Configuration: Easily configure logging levels, outputs, and formats.
  • Multiple Output Destinations: Supports logging to console, files, or custom destinations.
  • Performance Optimized: Lightweight and designed for minimal performance overhead.

Usage Examples

using XmobiTea.Logging;
using XmobiTea.Logging.Config;

var logger = LoggerFactory.CreateLogger(config => { config.SetLevel(LogLevel.Debug); config.AddConsoleOutput(); config.AddFileOutput("log.txt"); });

logger.LogInformation("This is an information log."); logger.LogError("This is an error log.");

Supported Data Types

  • LogLevel: Defines the level of logging (Debug, Info, Warning, Error, etc.).
  • LoggerConfiguration: Used to configure various aspects of the logger.

Extensibility

XmobiTea.Logging can be extended by adding custom logging outputs or formats through the LoggerConfiguration API.

Contributing

If you wish to contribute to this project, please open a pull request on GitHub. All contributions are welcome!

License

XmobiTea.Logging is released under the MIT License. See the LICENSE file for more details.

Acknowledgments

Thanks to the .NET development community for providing the tools and resources to build this library.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  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 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net46 is compatible.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETFramework 4.8.1

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on XmobiTea.Logging:

Package Downloads
XmobiTea.ProtonNet.Server

XmobiTea.ProtonNet.Server is core of both SocketServer and WebApiServer.

XmobiTea.ProtonNet.Client

XmobiTea.ProtonNet.Client is the client-side implementation for .NET, providing the necessary tools and functionality to interact with ProtonNet services. It allows .NET applications to efficiently communicate with ProtonNet servers, facilitating seamless client-server integration.

XmobiTea.Logging.Log4Net

XmobiTea.Logging.Log4Net is an implementation class that utilizes the log4net framework, providing robust logging capabilities within the XmobiTea.Logging interface. This implementation allows developers to leverage the powerful features of log4net for consistent and effective logging in their applications.

GitHub repositories

This package is not used by any popular GitHub repositories.