51 packages tagged with “logfiles”
log4net is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the application binary. The log4net package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial. At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4net is the notion of hierarchical loggers. Using these loggers it is possible to selectively control which log statements are output at arbitrary granularity. log4net is designed with two distinct goals in mind: speed and flexibility
NLog is a logging platform for .NET with rich log routing and management capabilities. NLog supports traditional logging, structured logging and the combination of both. Supported platforms: - .NET 6, 7, 8, 9 and 10 - .NET Standard 2.0 and 2.1 - .NET Framework 3.5 - 4.8 - Xamarin Android + iOS (.NET Standard) - Mono 4 For integrating NLog with Microsoft.Extensions.Logging, check: https://www.nuget.org/packages/NLog.Extensions.Logging For using NLog with ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
NLog LoggerProvider for Microsoft.Extensions.Logging for logging in .NET Standard libraries and .NET Core applications. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
NLog extension for Microsoft.Extensions.Hosting for logging in .NET Standard libraries and .NET Core applications using IHostBuilder. For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
KISS .NET logging library
log4net is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the application binary. The log4net package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial. At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4net is the notion of hierarchical loggers. Using these loggers it is possible to selectively control which log statements are output at arbitrary granularity. log4net is designed with two distinct goals in mind: speed and flexibility. This version contain the "oldkey" binaries, as explained in http://logging.apache.org/log4net/release/faq.html#two-snks.
---------------------------------- log4net 的扩展,支持mongodb(>=net4.0),Elasticsearch(>=net4.5),支持自定义文件名 ---------------------------------- 应用说明详见:您本地nuget包中 packages\..\lib\net45使用说明.docx packages\..\lib\netcore使用说明.docx ---------------------------------- 应用实例: ---------------------------------- 写入日志: ---------------------------------- string FilePath = System.AppContext.BaseDirectory + "\\文件夹a\\自定义文件.txt"; ThreadContext.Properties["cip"] = "192.168.0.102"; //自定义客户端ip log.Info("日志1"); log.File(FilePath).Info("日志2"); log.File(FilePath).Method("方法名3").InfoFormat("日志3"); log.Method("方法名4").Info("日志4"); log.Info("日志5"); ---------------------------------- 查询日志: ---------------------------------- var data = log.MongoCollection("mongoDBConfig链接字符").Search(new Log4NetSearch() { appidlog = $"{appid}logs",//mongo库 //begtime = DateTime.Now.AddDays(-1), //endtime = DateTime.Now.AddDays(1), message = "关键字", }); if (data != null) { Console.WriteLine($"data.Count:{data.Count}"); } ----------------------------------
This is a Logger package build with .Net core 3.0, 2.2 and .net 4.7. It supports multiple targets as well as a number of logging levels. The class is implemented as a singleton. It is thread safe and optimized to not use locks.
Traditional simple text base logging frameworks lack what your application can easily emit in providing you better insight into the health of your application. Wouldn’t it be great to easily instrument incredible rich details? Well, look no further. ReflectInsight was designed to easily let your application speak volumes! One of ReflectInsight’s most powerful features is its impressive and elegant Viewer. The Viewer was design to hone in on particular issues and filter any unwanted noise by creating User Defined Views. User Defined Views allow you to filter a given request and visualize the execution path that actually caused the issue at hand. Everyone knows that debugging multithread applications is no simple task. Due to racing conditions, traditional IDE debuggers are not well suited for the job and don’t really provide an accurate picture behind the scenes. With ReflectInsight’s Live Viewer, debugging multithread applications is that much easier! In order to use this library you must have the ReflectInsight Viewer installed. Download and install the ReflectInsight Viewer from this location: http://www.ReflectSoftware.com/Public/Download.aspx You can view your messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you.
We've added support for the Log4net appender. This allows you to leverage your current investment in log4net, but leverage the power and flexibility that comes with the ReflectInsight viewer. In order to use this extension you must have the ReflectInsight Viewer installed. Download and install the ReflectInsight Viewer from this location: http://www.ReflectSoftware.com/Public/Download.aspx You can view your log4net messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you.
log4net Trace Extensions
Log2NET is a tool for collecting log to databases or files for .NET and .NETCore. This component automatically collects the system's running logs (server operation, online statistics, etc.), exception logs. programmers can also add custom logs. This component supports.NET platform and.NETCore platform, supports file, sql server, oracle, mysql, and can be easily extended to other databases.
We've added support for the NLog appender. This allows you to leverage your current investment in NLog, but leverage the power and flexibility that comes with the ReflectInsight viewer. In order to use this extension you must have the ReflectInsight Viewer installed. Download and install the ReflectInsight Viewer from this location: http://www.ReflectSoftware.com/Public/Download.aspx You can view your NLog messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you.
Base classes for Writing events
Write events to text files
We've added support for the Enterprise Library Logging adapter. This allows you to leverage your current investment in EntLib, but leverage the power and flexibility of the ReflectInsight Viewer. A special benefit in this extension as it will parse and display XML message in proper syntax. In order to use this extension you must have the ReflectInsight Viewer installed. Download and install the ReflectInsight Viewer from this location: http://www.ReflectSoftware.com/Public/Download.aspx You can view your EntLib messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you.
We've added support for the Http Module. In order to use this extension you must have the ReflectInsight Viewer installed. Download and install the ReflectInsight Viewer from this location: http://www.ReflectSoftware.com/Public/Download.aspx You can view your Http messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you.
Logr provides a consistent, cross platform Xamarin logging service. Support includes console logging and configurable reporting to Xamarin.Insights or Azure Mobile Centre. See project site for usage.
Simple console and file logger for .NET
Serializer(s) meant to be used in conjunction w/ the log4net.Ext.Json library.
We've added a new destination listener extension for ReflectInsight for sending emails. This new destination listener extension is called ReflectSoftware.Insight.Listeners.Email and allows you to send logging messages via email. This is typically done for Exceptions, Errors and Fatal messages types where you might want to be notified via email if something went wrong in your application. Traditional simple text base logging frameworks lack what your application can easily emit in providing you better insight into the health of your application. Wouldn’t it be great to easily instrument incredible rich details? Well, look no further. ReflectInsight was designed to easily let your application speak volumes! One of ReflectInsight’s most powerful features is its impressive and elegant Viewer. The Viewer was design to hone in on particular issues and filter any unwanted noise by creating User Defined Views. User Defined Views allow you to filter a given request and visualize the execution path that actually caused the issue at hand. Everyone knows that debugging multithread applications is no simple task. Due to racing conditions, traditional IDE debuggers are not well suited for the job and don’t really provide an accurate picture behind the scenes. With ReflectInsight’s Live Viewer, debugging multithread applications is that much easier! In order to use this library you must have the ReflectInsight Viewer installed. Download and install the ReflectInsight Viewer from this location: http://www.ReflectSoftware.com/Public/Download.aspx You can view your messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you.
Fast and comprehensive logging tool for .NET applications, designed for always-on logging. FieldLog allows applications to write events, data and errors (including structured exceptions with lots of details) to managed and efficient log files. The logging methods are optimised for high performance multi-threaded operation. A useful log viewer application is available from the project website. Please visit the project website for further information on FieldLog, including a feature list, sample code, and a developer guide.
We've added support for the .NET Diagnostic Debug/Trace write. This allows you to leverage your current investment in Debug/Trace, but leverage the power and flexibility that comes with the ReflectInsight viewer. In order to use this extension you must have the ReflectInsight Viewer installed. Download and install the ReflectInsight Viewer from this location: http://www.ReflectSoftware.com/Public/Download.aspx You can view your Debug/Trace messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you.
Write events to text console
We've added support for the Common Logging appender. This allows you to leverage your current investment in Common Logging, but leverage the power and flexibility that comes with the ReflectInsight viewer. In order to use this extension you must have the ReflectInsight Viewer installed. Download and install the ReflectInsight Viewer from this location: http://www.ReflectSoftware.com/Public/Download.aspx You can view your Common Logging messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you.
The ReflectInsight sink for Serilog
This module helps the programmer to log data to various sources (file, database, system log, others). In case of found issue in the application it should be possible to enable logging so that the problem is detected and fixed. With this module allows to configure logging at runtime without modifying the application binary. The module has been developed on the base of log4net library. This package was built from the source at https://github.com/pentegy-services/Logging/commit/afdf1203fe9ad7412b5aabfdc74cbe3f87fd870b
VkNet adaptive package NLog provider for Microsoft.Extensions.Logging for usage in .NET Standard libraries and console applicaties.
We've added support for the Enterprise Library Semantic Logging (ETW). This allows you to leverage your current investment in EntLib, but leverage the power and flexibility of the ReflectInsight Viewer. In order to use this extension you must have the ReflectInsight Viewer installed. Download and install the ReflectInsight Viewer from this location: http://www.ReflectSoftware.com/Public/Download.aspx You can view your EntLib messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you.